diff options
Diffstat (limited to 'net/ipv4/ip_input.c')
-rw-r--r-- | net/ipv4/ip_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index c29de9879fda..091b5c7e04e1 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c | |||
@@ -265,7 +265,7 @@ int ip_local_deliver(struct sk_buff *skb) | |||
265 | return 0; | 265 | return 0; |
266 | } | 266 | } |
267 | 267 | ||
268 | return NF_HOOK(PF_INET, NF_INET_LOCAL_IN, skb, skb->dev, NULL, | 268 | return NF_HOOK(NFPROTO_IPV4, NF_INET_LOCAL_IN, skb, skb->dev, NULL, |
269 | ip_local_deliver_finish); | 269 | ip_local_deliver_finish); |
270 | } | 270 | } |
271 | 271 | ||
@@ -443,7 +443,7 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, | |||
443 | /* Must drop socket now because of tproxy. */ | 443 | /* Must drop socket now because of tproxy. */ |
444 | skb_orphan(skb); | 444 | skb_orphan(skb); |
445 | 445 | ||
446 | return NF_HOOK(PF_INET, NF_INET_PRE_ROUTING, skb, dev, NULL, | 446 | return NF_HOOK(NFPROTO_IPV4, NF_INET_PRE_ROUTING, skb, dev, NULL, |
447 | ip_rcv_finish); | 447 | ip_rcv_finish); |
448 | 448 | ||
449 | inhdr_error: | 449 | inhdr_error: |