bf7a58e32f
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_7240.c | ||
arswitch_7240.h | ||
arswitch_8216.c | ||
arswitch_8216.h | ||
arswitch_8226.c | ||
arswitch_8226.h | ||
arswitch_8316.c | ||
arswitch_8316.h | ||
arswitch_8327.c | ||
arswitch_8327.h | ||
arswitch_9340.c | ||
arswitch_9340.h | ||
arswitch_phy.c | ||
arswitch_phy.h | ||
arswitch_reg.c | ||
arswitch_reg.h | ||
arswitch_vlans.c | ||
arswitch_vlans.h | ||
arswitch.c | ||
arswitchreg.h | ||
arswitchvar.h |