NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/58584: bge(4) locking issues
>Number: 58584
>Category: kern
>Synopsis: bge(4) locking issues
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 12 15:10:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, ...
>Organization:
The NetBGE(4) Foundlockation
>Environment:
>Description:
1. missing mutex_obj_free
2. missing callout_destroy
3. lock taken in interrupt context must not be taken across bge_init/stop -- nix `core' lock, replace by mcast lock for SIOCADDMULTI/SIOCDELMULTI and multicast filter updates, make it IPL_SOFTNET instead of IPL_NONE
4. SIOCIFMEDIA takes core lock, must take intr lock (= mii/ifmedia lock) instead
5. no need for bge_stopping, bge_detaching flags
and possibly other issues
>How-To-Repeat:
code inspection
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index