[Bug 216510] panic while adding an epair to a bridge

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 26 21:20:10 UTC 2017


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

            Bug ID: 216510
           Summary: panic while adding an epair to a bridge
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: nvass at gmx.com
                CC: kp at freebsd.org

Hi,

After running the following commands I get a panic:
#!/bin/sh
bridge=`ifconfig bridge create`
epair=`ifconfig epair create | sed 's/.$//'`

ifconfig $bridge 11.255.255.1/28
ifconfig $bridge addm ${epair}a



Panic:
panic: _mtx_lock_sleep: recursed on non-recursive mutex if_bridge @
/usr/src/sys/modules/if_bridge/../../net/if_bridge.c:2117

cpuid = 2
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00954da260
vpanic() at vpanic+0x186/frame 0xfffffe00954da2e0
kassert_panic() at kassert_panic+0x126/frame 0xfffffe00954da350
__mtx_lock_sleep() at __mtx_lock_sleep+0x3e2/frame 0xfffffe00954da3d0
__mtx_lock_flags() at __mtx_lock_flags+0x116/frame 0xfffffe00954da430
bridge_transmit() at bridge_transmit+0x61/frame 0xfffffe00954da470
ether_output() at ether_output+0x703/frame 0xfffffe00954da510
arprequest() at arprequest+0x413/frame 0xfffffe00954da620
arp_ifinit() at arp_ifinit+0x56/frame 0xfffffe00954da660
arp_handle_ifllchange() at arp_handle_ifllchange+0x3d/frame 0xfffffe00954da680
bridge_ioctl_add() at bridge_ioctl_add+0x3b4/frame 0xfffffe00954da6d0
bridge_ioctl() at bridge_ioctl+0x29f/frame 0xfffffe00954da770
ifioctl() at ifioctl+0xbc8/frame 0xfffffe00954da7f0
kern_ioctl() at kern_ioctl+0x2b0/frame 0xfffffe00954da850
sys_ioctl() at sys_ioctl+0x13f/frame 0xfffffe00954da930
amd64_syscall() at amd64_syscall+0x2f9/frame 0xfffffe00954daab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00954daab0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800fd5aaa, rsp =
0x7fffffffe1f8, rbp = 0x7fffffffe2a0 ---
KDB: enter: panic
[ thread pid 766 tid 100571 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
db>

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


More information about the freebsd-bugs mailing list