[Bug 254015] [if_bridge] Panic when using bridge interface on 13.0-BETA4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 4 17:30:45 UTC 2021


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

            Bug ID: 254015
           Summary: [if_bridge] Panic when using bridge interface on
                    13.0-BETA4
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: shamaz.mazum at gmail.com

Hi! I am on commit 20f9e2a723f5f560d6219e28f36dd3b8f8561b3a. My installation
uses bridge interface which connects wired and wireless interfaces. After ~30
seconds of uptime, FreeBSD panics.

Backtrace seems like nonsense to me. Here m != NULL and in the next frame (in
m_dup()) m == NULL. WTF?)

(kgdb) frame 9
#9  0xffffffff80c8ed6a in m_dup (m=0x0, how=<optimized out>, how at entry=1)
    at /usr/src/sys/kern/uipc_mbuf.c:686
686             remain = m->m_pkthdr.len;
(kgdb) frame 10
#10 0xffffffff82c249d2 in bridge_broadcast (sc=sc at entry=0xfffff8001362a800,
    src_if=src_if at entry=0xfffff80010a57800, m=0xfffff8002cdbe200,
m at entry=0xfffff80003a0ea00,
    runfilt=runfilt at entry=0) at /usr/src/sys/net/if_bridge.c:2587
2587                            mc = m_dup(m, M_NOWAIT);
(kgdb) print m
$1 = (struct mbuf *) 0xfffff8002cdbe200

Here is saved core + kernel.full (~50Mb compressed, 1Gb uncompressed).

https://drive.google.com/file/d/1O8zmuUuDjRnjcwdBxT7YNH0f-_r6j862/view?usp=sharing

Please, share your thoughts how to fix this.

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


More information about the freebsd-bugs mailing list