[Bug 195859] Reproduceble panic with VIMAGE + if_bridge

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 6 08:25:59 UTC 2015


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

Craig Rodrigues <rodrigc at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rodrigc at FreeBSD.org

--- Comment #1 from Craig Rodrigues <rodrigc at 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.


More information about the freebsd-bugs mailing list