Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2017 17:36:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 221845] bridge0 causes kernel panic on BBB using usb wifi in hostap mode (RT3071)
Message-ID:  <bug-221845-2472-8h188E6F7m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221845-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221845-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=3D221845

--- Comment #2 from Russell Haley <russ.haley@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 =3D m_dup(m, M_NOWAIT);
            if (mc =3D=3D 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?

--=20
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-221845-2472-8h188E6F7m>