Date: Tue, 11 Mar 2008 14:45:35 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137400 for review Message-ID: <200803111445.m2BEjZxs039111@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137400 Change 137400 by rwatson@rwatson_cinnamon on 2008/03/11 14:44:35 Attempt to clarify the setup checks being done a little more. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#32 edit Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#32 (text+ko) ==== @@ -479,7 +479,8 @@ } /* - * Perform atomic check-and-exchange. + * We only allow buffers to be installed once, so atomically check + * that no buffers are currently installed and install new buffers. */ BPFD_LOCK(d); if (d->bd_hbuf != NULL || d->bd_sbuf != NULL || d->bd_fbuf != NULL ||
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803111445.m2BEjZxs039111>