Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 2021 17:30:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254015] [if_bridge] Panic when using bridge interface on 13.0-BETA4
Message-ID:  <bug-254015-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254015

            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@FreeBSD.org
          Reporter: shamaz.mazum@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 !=3D NULL and in the next frame=
 (in
m_dup()) m =3D=3D NULL. WTF?)

(kgdb) frame 9
#9  0xffffffff80c8ed6a in m_dup (m=3D0x0, how=3D<optimized out>, how@entry=
=3D1)
    at /usr/src/sys/kern/uipc_mbuf.c:686
686             remain =3D m->m_pkthdr.len;
(kgdb) frame 10
#10 0xffffffff82c249d2 in bridge_broadcast (sc=3Dsc@entry=3D0xfffff8001362a=
800,
    src_if=3Dsrc_if@entry=3D0xfffff80010a57800, m=3D0xfffff8002cdbe200,
m@entry=3D0xfffff80003a0ea00,
    runfilt=3Drunfilt@entry=3D0) at /usr/src/sys/net/if_bridge.c:2587
2587                            mc =3D m_dup(m, M_NOWAIT);
(kgdb) print m
$1 =3D (struct mbuf *) 0xfffff8002cdbe200

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

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

Please, share your thoughts how to fix this.

--=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-254015-227>