Date: Wed, 27 Jul 2005 21:03:35 +0000 (UTC) From: Maksim Yevmenkin <emax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/an if_an.c Message-ID: <200507272103.j6RL3aDW081402@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emax 2005-07-27 21:03:35 UTC
FreeBSD src repository
Modified files:
sys/dev/an if_an.c
Log:
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
MFC after: 3 days
Silence from: current@
Revision Changes Path
1.68 +4 -3 src/sys/dev/an/if_an.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507272103.j6RL3aDW081402>
