"Matthew N. Dodd" wrote:
> On Thu, 25 Apr 2002, Peter Wemm wrote:
> > This is well known.  If we recieve an ARP frame before we sent one, then
> > we print this.  eg: a broadcast ARP packet will trigger it.  dhclient
> > etc use bpf etc so ARP isn't initialized at this point.
> 
> We could just put this block of code from arp_rtrequest() into arp_init().
> 
>       LIST_INIT(&llinfo_arp);
>       timeout(arptimer, (caddr_t)0, hz);
>       register_netisr(NETISR_ARP, arpintr);
> 
> I'm not sure why it should to be in arp_rtrequest() in the first place.

You do not want the timer running and using cpu if you are not using ARP
(eg: ppp only).

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to