bpf/fxp RELENG_5 LOR
Rene Ladan
r.c.ladan at student.tue.nl
Mon May 2 07:07:01 PDT 2005
On Mon, May 02, 2005 at 02:51:05PM +0200, Rene Ladan wrote:
>
> FreeBSD 5.4-STABLE #0: Mon May 2 02:26:10 CEST 2005
> root at 82-168-79-254-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE
>
> #tcpdump
>
> fxp0: promiscuous mode enabled
>
> lock order reversal
> 1st 0xc066de80 bpf global lock (bpf global lock) @ /usr/src/sys/net/bpf.c:385
> 2nd 0xc14c9264 fxp0 (network driver) @ /usr/src/sys/modules/fxp/../../dev/fxp/if_fxp.c:2394
>
> fxp0: promiscuous mode disabled
Of course, to obfuscate debugging, this only happens sporadically, e.g.
when using tcpdump the first time. :(
This and related fxp LORs all point to some file and to
src/sys/dev/fxp/if_fxp.c, at places where a FXP_LOCK(sc), with sc of
type fxp_softc * is done.
from src/sys/dev/fxp/fxpvar.h:
#define FXP_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
Regards,
Rene
--
"It won't fit on the line."
-- me, 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050502/174a571a/attachment.bin
More information about the freebsd-stable
mailing list