From owner-p4-projects@FreeBSD.ORG Sat Feb 2 18:51:25 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E6D6E16A421; Sat, 2 Feb 2008 18:51:24 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9121416A418 for ; Sat, 2 Feb 2008 18:51:24 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8371913C4E3 for ; Sat, 2 Feb 2008 18:51:24 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m12IpOHo053575 for ; Sat, 2 Feb 2008 18:51:24 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m12IpOE5053572 for perforce@freebsd.org; Sat, 2 Feb 2008 18:51:24 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 2 Feb 2008 18:51:24 GMT Message-Id: <200802021851.m12IpOE5053572@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 134661 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 18:51:25 -0000 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)