[Bug 252165] usb network and mii bus media status race condition

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Apr 2022 13:56:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252165

--- Comment #17 from Ali Abdallah <ali.abdallah@suse.com> ---
After digging further into the code, I'm still unable to understand how the
inversion described in comment 14 is even possible...

On a spare system T430 with a USB ethernet, I've compiled the kernel with 

options WITNESS
options INVARIANTS
options INVARIANT_SUPPORT
options DEBUG_LOCKS
options DIAGNOSTIC

The up/down link issue is even more frequent with the debug kernel, but all I
see is 

if_delmulti_locked: detaching ifnet instance 0xfffff8001880b800
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP

This issue is driving me crazy, any fbsd kernel locking expert to help here?

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