Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 18:51:24 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134661 for review
Message-ID:  <200802021851.m12IpOE5053572@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134661

Change 134661 by rwatson@rwatson_cinnamon on 2008/02/02 18:50:46

	Clarify comment.

Affected files ...

.. //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#21 edit

Differences ...

==== //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#21 (text+ko) ====

@@ -151,7 +151,9 @@
  * shared memory buffers.
  *
  * pcap_next_zbuf_shm(): Check for a newly available shared memory buffer,
- * and set up p->buffer and cc to reflect one if available.
+ * and set up p->buffer and cc to reflect one if available.  Notice that if
+ * there was no prior buffer, we select zbuf1 as this will be the first
+ * buffer filled for a fresh BPF session.
  */
 static int
 pcap_next_zbuf_shm(pcap_t *p, int *cc)



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