Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2005 14:19:31 -0700
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/an if_an.c
Message-ID:  <bb4a86c70508041419595a6ac2@mail.gmail.com>
In-Reply-To: <200508042112.j74LCMgu021304@repoman.freebsd.org>
References:  <200508042112.j74LCMgu021304@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/4/05, Maksim Yevmenkin <emax@freebsd.org> wrote:
> emax        2005-08-04 21:12:22 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:        (Branch: RELENG_6)
>     sys/dev/an           if_an.c
>   Log:
>   MFC if_an.c v1.69 to RELENG_6
>=20
>   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 =3D 0 (0xc59af168) locked =
@ /usr/src/
>   sys/dev/an/if_an.c:2836
>=20
>   Do not lock an to check gone flag. Only need to hold the lock to set
>   the gone flag.
>=20
>   Reviewed by:    imp
>   Approved by:    re (kemsmith)

Approved by:    re (kensmith)

please accept my apologies

>=20
>   Revision  Changes    Path
>   1.67.2.1  +2 -2      src/sys/dev/an/if_an.c
>=20

max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70508041419595a6ac2>