Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2009 14:28:08 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        thompsa@FreeBSD.org
Cc:        src-committers@FreeBSD.org, svn-src-user@FreeBSD.org
Subject:   Re: svn commit: r187978 - user/thompsa/usb/sys/dev/usb2/ethernet
Message-ID:  <20090201.142808.886478999.imp@bsdimp.com>
In-Reply-To: <200902010650.n116obU1045871@svn.freebsd.org>
References:  <200902010650.n116obU1045871@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200902010650.n116obU1045871@svn.freebsd.org>
            Andrew Thompson <thompsa@FreeBSD.org> writes:
: +	locked = mtx_owned(&sc->sc_mtx);
: +	if (!locked)
: +		AUE_LOCK(sc);

You do know this is racy, right?

Warner



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