Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 20:52:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 230655] vlan(4) holds non-sleepable locks around driver ioctls
Message-ID:  <bug-230655-7501-cDKSYMfJeR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230655-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230655-7501@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=3D230655

Eric Joyner <erj@freebsd.org> changed:

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

--- Comment #1 from Eric Joyner <erj@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

--=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-230655-7501-cDKSYMfJeR>