diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-03-22 23:09:07 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-25 11:00:49 -0400 |
commit | b2e0b385d77069031edb957839aaaa8441b47287 (patch) | |
tree | 7b0cd8ed74fd0f8ab6a198cd1be735c6a972517e /net/ipv6/ip6mr.c | |
parent | 9bbc768aa911a3ef336272eaa6d220abfba8ce50 (diff) |
netfilter: ipv6: use NFPROTO values for NF_HOOK invocation
The semantic patch that was used:
// <smpl>
@@
@@
(NF_HOOK
|NF_HOOK_THRESH
|nf_hook
)(
-PF_INET6,
+NFPROTO_IPV6,
...)
// </smpl>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv6/ip6mr.c')
-rw-r--r-- | net/ipv6/ip6mr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 52e0f74fdfe0..430372e0bf24 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
@@ -1566,7 +1566,7 @@ static int ip6mr_forward2(struct sk_buff *skb, struct mfc6_cache *c, int vifi) | |||
1566 | 1566 | ||
1567 | IP6CB(skb)->flags |= IP6SKB_FORWARDED; | 1567 | IP6CB(skb)->flags |= IP6SKB_FORWARDED; |
1568 | 1568 | ||
1569 | return NF_HOOK(PF_INET6, NF_INET_FORWARD, skb, skb->dev, dev, | 1569 | return NF_HOOK(NFPROTO_IPV6, NF_INET_FORWARD, skb, skb->dev, dev, |
1570 | ip6mr_forward2_finish); | 1570 | ip6mr_forward2_finish); |
1571 | 1571 | ||
1572 | out_free: | 1572 | out_free: |