Date: Fri, 26 Apr 2002 16:01:55 -0700 From: Peter Wemm <peter@wemm.org> To: "Matthew N. Dodd" <winter@jurai.net> Cc: John Baldwin <jhb@FreeBSD.ORG>, Jan Stocker <Jan.Stocker@t-online.de>, BOUWSMA Beery <freebsd-user@netscum.dyndns.dk>, current@FreeBSD.ORG Subject: Re: Minor things: swi_net: unregistered isr number Message-ID: <20020426230155.45B2A38FF@overcee.wemm.org> In-Reply-To: <20020426021139.F42854-100000@sasami.jurai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"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 - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426230155.45B2A38FF>