summaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_input.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-03-23 04:09:07 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-03-25 16:00:49 +0100
commitb2e0b385d77069031edb957839aaaa8441b47287 (patch)
tree7b0cd8ed74fd0f8ab6a198cd1be735c6a972517e /net/ipv6/xfrm6_input.c
parent9bbc768aa911a3ef336272eaa6d220abfba8ce50 (diff)
downloadop-kernel-dev-b2e0b385d77069031edb957839aaaa8441b47287.zip
op-kernel-dev-b2e0b385d77069031edb957839aaaa8441b47287.tar.gz
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/xfrm6_input.c')
-rw-r--r--net/ipv6/xfrm6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_input.c b/net/ipv6/xfrm6_input.c
index 2bc98ed..f8c3cf8 100644
--- a/net/ipv6/xfrm6_input.c
+++ b/net/ipv6/xfrm6_input.c
@@ -42,7 +42,7 @@ int xfrm6_transport_finish(struct sk_buff *skb, int async)
ipv6_hdr(skb)->payload_len = htons(skb->len);
__skb_push(skb, skb->data - skb_network_header(skb));
- NF_HOOK(PF_INET6, NF_INET_PRE_ROUTING, skb, skb->dev, NULL,
+ NF_HOOK(NFPROTO_IPV6, NF_INET_PRE_ROUTING, skb, skb->dev, NULL,
ip6_rcv_finish);
return -1;
}
OpenPOWER on IntegriCloud