Files
freebsd/sys/dev
Maksim Yevmenkin 8875da99c0 MFC if_an.c v1.69 to RELENG_6
Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free()
are called outside of AN_LOCK()/AN_UNLOCK. This fixes the following
WITNESS warning (produced when an(4) PCMCIA card is detached).
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex an0 (network driver) r = 0 (0xc59af168) locked @ /usr/src/
sys/dev/an/if_an.c:2836

Do not lock an to check gone flag. Only need to hold the lock to set
the gone flag.

Reviewed by:	imp
Approved by:	re (kemsmith)
2005-08-04 21:12:22 +00:00
..
2005-08-04 21:12:22 +00:00
…
2005-06-28 09:06:52 +00:00
2005-07-29 23:31:04 +00:00
2005-07-29 23:31:04 +00:00
2005-05-10 12:02:18 +00:00
…
…
…
2005-07-11 02:33:25 +00:00
…
2005-07-30 21:45:32 +00:00
2005-07-29 03:01:40 +00:00
2005-05-14 10:26:31 +00:00
…
2005-07-29 23:31:04 +00:00
…
2005-07-20 18:56:21 +00:00
…
…
…
…
2005-05-19 21:16:50 +00:00
2005-07-31 00:41:53 +00:00
…
…
…
…
…
2005-07-29 23:31:04 +00:00
…
…
…
…
2005-06-12 16:21:44 +00:00
…
…
2005-07-20 18:56:21 +00:00
…
2005-07-29 23:31:04 +00:00
2005-07-25 16:16:52 +00:00
…
2005-07-29 23:31:04 +00:00
…