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/mcast.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/mcast.c')
-rw-r--r-- | net/ipv6/mcast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index bcd971915969..773b9d18b748 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c | |||
@@ -1479,7 +1479,7 @@ static void mld_sendpack(struct sk_buff *skb) | |||
1479 | 1479 | ||
1480 | payload_len = skb->len; | 1480 | payload_len = skb->len; |
1481 | 1481 | ||
1482 | err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, skb, NULL, skb->dev, | 1482 | err = NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT, skb, NULL, skb->dev, |
1483 | dst_output); | 1483 | dst_output); |
1484 | out: | 1484 | out: |
1485 | if (!err) { | 1485 | if (!err) { |
@@ -1847,7 +1847,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type) | |||
1847 | goto err_out; | 1847 | goto err_out; |
1848 | 1848 | ||
1849 | skb_dst_set(skb, dst); | 1849 | skb_dst_set(skb, dst); |
1850 | err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, skb, NULL, skb->dev, | 1850 | err = NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT, skb, NULL, skb->dev, |
1851 | dst_output); | 1851 | dst_output); |
1852 | out: | 1852 | out: |
1853 | if (!err) { | 1853 | if (!err) { |