From owner-freebsd-current Fri Apr 26 16: 1:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 1B25437B404; Fri, 26 Apr 2002 16:01:55 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3QN1se44559; Fri, 26 Apr 2002 16:01:54 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 45B2A38FF; Fri, 26 Apr 2002 16:01:55 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Matthew N. Dodd" Cc: John Baldwin , Jan Stocker , BOUWSMA Beery , current@FreeBSD.ORG Subject: Re: Minor things: swi_net: unregistered isr number In-Reply-To: <20020426021139.F42854-100000@sasami.jurai.net> Date: Fri, 26 Apr 2002 16:01:55 -0700 From: Peter Wemm Message-Id: <20020426230155.45B2A38FF@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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