aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipmr.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-03-22 23:07:29 -0400
committerJan Engelhardt <jengelh@medozas.de>2010-03-25 11:00:30 -0400
commit9bbc768aa911a3ef336272eaa6d220abfba8ce50 (patch)
tree2c2d421e273eb78f3b1d4533b3a8b0654bcd45c0 /net/ipv4/ipmr.c
parent713aefa3fb3929ce36305d4d1b7b4059d87ed115 (diff)
netfilter: ipv4: use NFPROTO values for NF_HOOK invocation
The semantic patch that was used: // <smpl> @@ @@ (NF_HOOK |NF_HOOK_COND |nf_hook )( -PF_INET, +NFPROTO_IPV4, ...) // </smpl> Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r--net/ipv4/ipmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index 8582e12e4a62..1d42f6103c8d 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -1319,7 +1319,7 @@ static void ipmr_queue_xmit(struct sk_buff *skb, struct mfc_cache *c, int vifi)
1319 * not mrouter) cannot join to more than one interface - it will 1319 * not mrouter) cannot join to more than one interface - it will
1320 * result in receiving multiple packets. 1320 * result in receiving multiple packets.
1321 */ 1321 */
1322 NF_HOOK(PF_INET, NF_INET_FORWARD, skb, skb->dev, dev, 1322 NF_HOOK(NFPROTO_IPV4, NF_INET_FORWARD, skb, skb->dev, dev,
1323 ipmr_forward_finish); 1323 ipmr_forward_finish);
1324 return; 1324 return;
1325 1325