Date: Wed, 17 Aug 2005 17:44:33 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/fxp if_fxp.c src/sys/dev/hme if_hme.c Message-ID: <200508171744.j7HHiXA9037217@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508171744.j7HHiXA9037217>