Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2015 02:41:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 195859] Reproduceble panic with VIMAGE + if_bridge
Message-ID:  <bug-195859-2472-2Absm93nT6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195859-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195859-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195859

--- Comment #11 from Hiroki Sato <hrs@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195859-2472-2Absm93nT6>