[Bug 195859] Reproduceble panic with VIMAGE + if_bridge

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 22 02:41:06 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195859

--- Comment #11 from Hiroki Sato <hrs at FreeBSD.org> ---
Created attachment 151999
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151999&action=edit
a patch to fix this panic

This patch should fix the panic.  As Bjoern pointed out, ifnet_departure event
on the lo0 interface calls bridge_ifdetach() when destroying a vnet jail.  The
problem is that vnet_bridge_uninit() can be called before it.

The patch uses the fact that a vnet whose V_bridge_cloner == NULL is tearing
down (or not initialized).  I think it is safe to ignore this detach handler in
that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list