Date: Sun, 14 Aug 2005 09:09:24 +1200 From: Andrew Thompson <thompsa@freebsd.org> To: Michal Mertl <mime@traveller.cz> Cc: freebsd-current@freebsd.org Subject: Re: Panics with if_bridge(4) Message-ID: <20050813210924.GA79066@heff.fud.org.nz> In-Reply-To: <1123929866.61712.29.camel@genius1.i.cz> References: <1123929866.61712.29.camel@genius1.i.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 13, 2005 at 12:44:26PM +0200, Michal Mertl wrote: > I'm experiencing panics when configuring if_bridge interface on a debug > kernel with INVARIANTS. > > This is how I trigger it (I've got custom kernel with everything I use > compiled statically into it): > # ifconfig bridge0 create > > bridge0: bpf attached > bridge0: Ethernet address: ac:de:48:0c:22:8f > > # ifconfig bridge0 192.168.0.2 addm ath0 addm fxp0 > > panic: mutex if_bridge not owned at ../../../net/bridgestp.c:899 > Thanks, im testing a patch to fix this now. > > The if_bridge also causes crashes after ifconfig destroy with "memory > modified after free" messages - it seems if_bridge doesn't clean up > after itself completely. Ive reproduced this locally and seems related to another problem I am working on where destroying the bridge while a bpf consumer is attached results in a panic in the callout code in softclock(); > I'm missing a way to list the table of mac addresses learned behind an > interface. What good is ioctl to delete an address from the list if one > can't see the list? The command is 'ifconfig <bridge> addr', I could have sworn it was in the ifconfig manual page but you are quite right that it itsnt documented. Thanks for pointing this out. Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050813210924.GA79066>