Date: Fri, 29 Dec 2006 13:59:50 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/contrib/pf/net if_pfsync.c src/sys/dev/arl if_arl.c src/sys/dev/ce if_ce.c src/sys/dev/cp if_cp.c src/sys/dev/ctau if_ct.c src/sys/dev/cx if_cx.c src/sys/dev/en midway.c src/sys/dev/firewire if_fwip.c src/sys/dev/my if_my.c ... Message-ID: <200612291359.kBTDxo5l039858@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-12-29 13:59:50 UTC
FreeBSD src repository
Modified files:
sys/contrib/pf/net if_pfsync.c
sys/dev/arl if_arl.c
sys/dev/ce if_ce.c
sys/dev/cp if_cp.c
sys/dev/ctau if_ct.c
sys/dev/cx if_cx.c
sys/dev/en midway.c
sys/dev/firewire if_fwip.c
sys/dev/my if_my.c
sys/dev/ppbus if_plip.c
sys/i4b/driver i4b_ipr.c
sys/net if_enc.c
sys/netgraph ng_sppp.c
Log:
Various bpf(4) related fixes to catch places up to the new bpf(4)
semantics.
- Stop testing bpf pointers for NULL. In some cases use
bpf_peers_present() and then call the function directly inside the
conditional block instead of the macro.
- For places where the entire conditional block is the macro, remove the
test and make the macro unconditional.
- Use BPF_MTAP() in if_pfsync on FreeBSD instead of an expanded version of
the old semantics.
Reviewed by: csjp (older version)
Revision Changes Path
1.32 +4 -0 src/sys/contrib/pf/net/if_pfsync.c
1.15 +1 -1 src/sys/dev/arl/if_arl.c
1.5 +4 -4 src/sys/dev/ce/if_ce.c
1.31 +2 -4 src/sys/dev/cp/if_cp.c
1.31 +2 -4 src/sys/dev/ctau/if_ct.c
1.54 +2 -4 src/sys/dev/cx/if_cx.c
1.70 +2 -2 src/sys/dev/en/midway.c
1.12 +2 -2 src/sys/dev/firewire/if_fwip.c
1.40 +2 -2 src/sys/dev/my/if_my.c
1.42 +5 -5 src/sys/dev/ppbus/if_plip.c
1.37 +4 -4 src/sys/i4b/driver/i4b_ipr.c
1.6 +1 -1 src/sys/net/if_enc.c
1.11 +2 -4 src/sys/netgraph/ng_sppp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612291359.kBTDxo5l039858>
