Date: Tue, 06 Jan 2015 08:25:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195859] Reproduceble panic with VIMAGE + if_bridge Message-ID: <bug-195859-8-YTyRF3utRL@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195859-8@https.bugs.freebsd.org/bugzilla/> References: <bug-195859-8@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 Craig Rodrigues <rodrigc@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigc@FreeBSD.org --- Comment #1 from Craig Rodrigues <rodrigc@FreeBSD.org> --- Can you apply this patch, rebuild your system and see if it fixes the problem? Index: if_bridge.c =================================================================== --- if_bridge.c (revision 275555) +++ if_bridge.c (working copy) @@ -1812,6 +1812,7 @@ /* Check if the interface is a span port */ BRIDGE_LIST_LOCK(); + CURVNET_SET(ifp->if_vnet); LIST_FOREACH(sc, &V_bridge_list, sc_list) { BRIDGE_LOCK(sc); LIST_FOREACH(bif, &sc->sc_spanlist, bif_next) @@ -1822,6 +1823,7 @@ BRIDGE_UNLOCK(sc); } + CURVNET_RESTORE(); BRIDGE_LIST_UNLOCK(); } -- 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-8-YTyRF3utRL>