diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-03-22 23:07:29 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-25 11:00:30 -0400 |
commit | 9bbc768aa911a3ef336272eaa6d220abfba8ce50 (patch) | |
tree | 2c2d421e273eb78f3b1d4533b3a8b0654bcd45c0 /net/ipv4/xfrm4_input.c | |
parent | 713aefa3fb3929ce36305d4d1b7b4059d87ed115 (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/xfrm4_input.c')
-rw-r--r-- | net/ipv4/xfrm4_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_input.c b/net/ipv4/xfrm4_input.c index f9f922a0ba88..c3969e0f96c3 100644 --- a/net/ipv4/xfrm4_input.c +++ b/net/ipv4/xfrm4_input.c | |||
@@ -60,7 +60,7 @@ int xfrm4_transport_finish(struct sk_buff *skb, int async) | |||
60 | iph->tot_len = htons(skb->len); | 60 | iph->tot_len = htons(skb->len); |
61 | ip_send_check(iph); | 61 | ip_send_check(iph); |
62 | 62 | ||
63 | NF_HOOK(PF_INET, NF_INET_PRE_ROUTING, skb, skb->dev, NULL, | 63 | NF_HOOK(NFPROTO_IPV4, NF_INET_PRE_ROUTING, skb, skb->dev, NULL, |
64 | xfrm4_rcv_encap_finish); | 64 | xfrm4_rcv_encap_finish); |
65 | return 0; | 65 | return 0; |
66 | } | 66 | } |