From owner-freebsd-net Tue Mar 6 4:48:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 6AA5737B718 for ; Tue, 6 Mar 2001 04:48:44 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.1/8.11.1) id f26CkWO56746; Tue, 6 Mar 2001 14:46:32 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200103061246.f26CkWO56746@zibbi.icomtek.csir.co.za> Subject: Re: kernel: nd6_storelladdr failed, mbuf leak In-Reply-To: <11354.983881225@coconut.itojun.org> from "itojun@iijlab.net" at "Mar 6, 2001 09:20:25 pm" To: itojun@iijlab.net Date: Tue, 6 Mar 2001 14:46:32 +0200 (SAT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > >> > > I then noticed that "... kernel: nd6_storelladdr failed" gets logged > >> > > often and after a while all mbufs are used. It turned out that in > >> > > sys/net/if_ethersubr.c in ether_output() when nd6_storelladdr() > >> > fails, > >> > > it does a return(0) and does not free the mbuf. I checked -current > >> > > and it is still like that. > > will correct it. thanks for reporting. > > itojun Great, thanks. Now I have a second question. What should be done about the interaction between if_ef(4) and nd6_storelladdr()? Should a IFT_XETHER be added to the case statement in nd6_storelladdr() or should if_ef(4) not try to do ipv6? John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message