From owner-p4-projects@FreeBSD.ORG Sun Mar 9 21:20:12 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6B0821065677; Sun, 9 Mar 2008 21:20:12 +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 29DC31065672 for ; Sun, 9 Mar 2008 21:20:12 +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 147278FC27 for ; Sun, 9 Mar 2008 21:20:12 +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 m29LKBGc078106 for ; Sun, 9 Mar 2008 21:20:11 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 m29LKBVV078104 for perforce@freebsd.org; Sun, 9 Mar 2008 21:20:11 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 9 Mar 2008 21:20:11 GMT Message-Id: <200803092120.m29LKBVV078104@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 137265 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: Sun, 09 Mar 2008 21:20:13 -0000 http://perforce.freebsd.org/chv.cgi?CH=137265 Change 137265 by rwatson@rwatson_cinnamon on 2008/03/09 21:20:06 Integrate zero-copy BPF to loop back bpf_filter.c style changes. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf_filter.c#6 integrate Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf_filter.c#6 (text+ko) ==== @@ -35,7 +35,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/net/bpf_filter.c,v 1.29 2007/12/25 13:24:02 rwatson Exp $"); +__FBSDID("$FreeBSD: src/sys/net/bpf_filter.c,v 1.30 2008/03/09 21:13:43 rwatson Exp $"); #include @@ -186,13 +186,13 @@ while (1) { ++pc; switch (pc->code) { - default: #ifdef _KERNEL return 0; #else abort(); #endif + case BPF_RET|BPF_K: return ((u_int)pc->k);