From owner-p4-projects@FreeBSD.ORG Mon Dec 24 23:45:29 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5C84916A469; Mon, 24 Dec 2007 23:45:29 +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 F123C16A418 for ; Mon, 24 Dec 2007 23:45:28 +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 E045C13C469 for ; Mon, 24 Dec 2007 23:45:28 +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 lBONjSH2051534 for ; Mon, 24 Dec 2007 23:45:28 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 lBONjSUG051531 for perforce@freebsd.org; Mon, 24 Dec 2007 23:45:28 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Mon, 24 Dec 2007 23:45:28 GMT Message-Id: <200712242345.lBONjSUG051531@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 131560 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: Mon, 24 Dec 2007 23:45:29 -0000 http://perforce.freebsd.org/chv.cgi?CH=131560 Change 131560 by rwatson@rwatson_cinnamon on 2007/12/24 23:44:50 bzh_kernel_len is the length of data in the buffer, not the length of the buffer. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf.h#15 edit Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf.h#15 (text+ko) ==== @@ -197,7 +197,7 @@ */ struct bpf_zbuf_header { volatile u_int bzh_kernel_gen; /* Kernel generation number. */ - volatile u_int bzh_kernel_len; /* Length of buffer. */ + volatile u_int bzh_kernel_len; /* Length of data in the buffer. */ volatile u_int bzh_user_gen; /* User generation number. */ u_int _bzh_pad[5]; };