mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
arswitch_setled() and a number of _global_setup functions did not acquire the
lock before calling arswitch_modifyreg(). With WITNESS enabled this would
instantly panic.
Discovered on a TPLink-3600:
("panic: mutex arswitch not owned at sys/dev/etherswitch/arswitch/arswitch_reg.c:236")
Reviewed by: adrian, kan
Differential Revision: https://reviews.freebsd.org/D9187
|
||
|---|---|---|
| .. | ||
| arswitch | ||
| e6000sw | ||
| infineon | ||
| ip17x | ||
| micrel | ||
| mtkswitch | ||
| rtl8366 | ||
| ukswitch | ||
| etherswitch.c | ||
| etherswitch.h | ||
| etherswitch_if.m | ||
| miiproxy.c | ||
| miiproxy.h | ||