[Bug 270399] lock order reversal /usr/src/sys/net/bpf.c:1519

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Oct 2024 14:31:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270399

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |markj@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I believe this is now fixed by commit a52f23f4c49e4.  In particular, iflib no
longer holds its ctx lock while calling ether_ifattach(), so the iflib ctx ->
bpf global lock order isn't established.

I also don't see any LORs when enabling promiscuous mode on an igb interface,
and witness reports a lock order "bpf global lock" -> "iflib ctx lock".

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