[Bug 230655] vlan(4) holds non-sleepable locks around driver ioctls

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 18 20:52:54 UTC 2018


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

Eric Joyner <erj at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erj at freebsd.org

--- Comment #1 from Eric Joyner <erj at freebsd.org> ---
We also see this when using iflib drivers:

lock order reversal: (sleepable after non-sleepable)
  1st 0xfffff807b4884d08 vlan (vlan) @ /usr/src/sys/net/if_vlan.c:1931
  2nd 0xfffff80549c87560 iflib ctx lock (iflib ctx lock) @
/usr/src/sys/net/iflib.c:4218
 stack backtrace:
 #0 0xffffffff80bc1c83 at witness_debugger+0x73
 #1 0xffffffff80bc19d3 at witness_checkorder+0xab3
 #2 0xffffffff80b62e68 at _sx_xlock+0x68
 #3 0xffffffff80c7a2bc at iflib_if_ioctl+0x8c
 #4 0xffffffff80c5beca at if_addmulti+0x24a
 #5 0xffffffff80c6c9c6 at vlan_setmulti+0x196
 #6 0xffffffff80c6bb89 at vlan_ioctl+0xa9
 #7 0xffffffff80c5beca at if_addmulti+0x24a
 #8 0xffffffff80ce0075 at in_joingroup_locked+0x235
 #9 0xffffffff80cdfe12 at in_joingroup+0x42
 #10 0xffffffff80cdb358 at in_control+0xb08
 #11 0xffffffff80c5af73 at ifioctl+0x1853
 #12 0xffffffff80bc6bba at kern_ioctl+0x2ba
 #13 0xffffffff80bc688e at sys_ioctl+0x15e
 #14 0xffffffff8102ce0c at amd64_syscall+0x28c
 #15 0xffffffff810095fd at fast_syscall_common+0x101

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


More information about the freebsd-net mailing list