cvs commit: src/sys/dev/fxp if_fxp.c src/sys/dev/hme if_hme.c
John Baldwin
jhb at FreeBSD.org
Wed Aug 17 17:44:33 GMT 2005
jhb 2005-08-17 17:44:33 UTC
FreeBSD src repository
Modified files:
sys/dev/fxp if_fxp.c
sys/dev/hme if_hme.c
Log:
Add callout_drain()'s to foo_detach() after calling foo_stop() to make sure
that if softclock is running on another CPU and is blocked on our driver
lock, we will wait until it has acquired the lock, seen that it was
cancelled, dropped the lock, and awakened us so that we can safely destroy
the mutex.
MFC after: 3 days
Revision Changes Path
1.245 +1 -0 src/sys/dev/fxp/if_fxp.c
1.41 +1 -0 src/sys/dev/hme/if_hme.c
More information about the cvs-src
mailing list