Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 12:14:05 -0500 (CDT)
From:      Jonathan Lemon <jlemon@flugsvamp.com>
To:        winter@jurai.net, net@freebsd.org
Subject:   Re: review request.
Message-ID:  <200109231714.f8NHE5080834@prism.flugsvamp.com>
In-Reply-To: <local.mail.freebsd-net/Pine.BSF.4.21.0109230534170.3806-200000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <local.mail.freebsd-net/Pine.BSF.4.21.0109230534170.3806-200000@sasami.jurai.net> you write:
>-=-=-=-=-=-
>
>sys/net/if.c and bpf.c have problems with if_detach() and
>bpfdetach() when they are called with a struct ifnet that has not had
>if_attach() and bpfattach() called on it.  Null pointer reference ->
>*boom* etc.

I would say that this is to be expected.  Why is the system calling
the detach functions on a device that isn't attached in the first place?
-- 
Jonathan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109231714.f8NHE5080834>