Date: Sun, 9 Mar 2008 21:20:11 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137265 for review Message-ID: <200803092120.m29LKBVV078104@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/cdefs.h> -__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 <sys/param.h> @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803092120.m29LKBVV078104>