PERFORCE change 134661 for review
    Robert Watson 
    rwatson at FreeBSD.org
       
    Sat Feb  2 10:51:25 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=134661
Change 134661 by rwatson at 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)
    
    
More information about the p4-projects
mailing list