[Bug 221845] bridge0 causes kernel panic on BBB using usb wifi in hostap mode (RT3071)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 6 17:36:02 UTC 2017


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

--- Comment #2 from Russell Haley <russ.haley at gmail.com> ---
I've been digging into the code for if_bridge.c, which is found under
sys/net. bridge_broadcast only has one call to m_dup on line 2553.

            mc = m_dup(m, M_NOWAIT);
            if (mc == NULL) {
                if_inc_counter(sc->sc_ifp, IFCOUNTER_OERRORS, 1);
                continue;
            }

This is just a guess: I'm wondering if the M_NOWAIT is causing the
panic because... er... "someone has a sleep lock they shouldn't"?  I
don't really know what I'm talking about though (a little bit of
knowledge...).

I guess I'd have to try and correlate to some sort of lock begin held
in the adapter specific code?

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


More information about the freebsd-net mailing list