Date: Wed, 7 Feb 2007 11:18:25 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 114167 for review Message-ID: <200702071118.l17BIP96047925@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114167 Change 114167 by rwatson@rwatson_cinnamon on 2007/02/07 11:17:32 Annotate an inter-thread race during bpf_setif. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf.c#16 edit Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf.c#16 (text+ko) ==== @@ -1407,6 +1407,9 @@ * buffers by the time we get here. If not, return an error. * * XXXRW: Could this be better abstracted? + * + * XXXRW: There are locking issues here with multi-threaded use: what + * if two threads try to set the interface at once? */ switch (d->bd_bufmode) { case BPF_BUFMODE_BUFFER:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702071118.l17BIP96047925>