netfilter: bridge: use NFPROTO values for NF_HOOK invocation
authorJan Engelhardt <jengelh@medozas.de>
Tue, 23 Mar 2010 03:07:21 +0000 (04:07 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 25 Mar 2010 15:00:29 +0000 (16:00 +0100)
commit713aefa3fb3929ce36305d4d1b7b4059d87ed115
treed73b898fa5920b434bffd60dce669c48758a2b5d
parent5dc7a6d5749d3ddbf9fbea9512cb45762428512c
netfilter: bridge: use NFPROTO values for NF_HOOK invocation

The first argument to NF_HOOK* is an nfproto since quite some time.
Commit v2.6.27-2457-gfdc9314 was the first to practically start using
the new names. Do that now for the remaining NF_HOOK calls.

The semantic patch used was:
// <smpl>
@@
@@
(NF_HOOK
|NF_HOOK_THRESH
)(
-PF_BRIDGE,
+NFPROTO_BRIDGE,
 ...)

@@
@@
 NF_HOOK(
-PF_INET6,
+NFPROTO_IPV6,
 ...)

@@
@@
 NF_HOOK(
-PF_INET,
+NFPROTO_IPV4,
 ...)
// </smpl>

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
net/bridge/br_forward.c
net/bridge/br_input.c
net/bridge/br_multicast.c
net/bridge/br_netfilter.c
net/bridge/br_stp_bpdu.c