Module Name: src Committed By: riastradh Date: Sat Aug 20 11:09:24 UTC 2022
Modified Files: src/sys/net: if.c if.h Log Message: ifnet(9): Defer if_watchdog (a.k.a. if_slowtimo) to workqueue. This is necessary to make mii_down and the *_init/stop routines that call it to sleep waiting for MII callouts on other CPUs. Mark the workqueue and callout MP-safe; only take the kernel lock around the callback. No kernel bump despite change to struct ifnet because the change is ABI-compatible and using the callout outside net/if.c has never been kosher. To generate a diff of this commit: cvs rdiff -u -r1.512 -r1.513 src/sys/net/if.c cvs rdiff -u -r1.299 -r1.300 src/sys/net/if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.