netfilter: Pass struct net into the netfilter hooks
[linux-block.git] / net / ipv4 / ip_forward.c
index 95235c813f1826441c4c6a532743dc5a511afa09..0a3c45a2e75768871600b217eb142971ba539a90 100644 (file)
@@ -146,8 +146,9 @@ int ip_forward(struct sk_buff *skb)
 
        skb->priority = rt_tos2priority(iph->tos);
 
-       return NF_HOOK(NFPROTO_IPV4, NF_INET_FORWARD, NULL, skb,
-                      skb->dev, rt->dst.dev, ip_forward_finish);
+       return NF_HOOK(NFPROTO_IPV4, NF_INET_FORWARD,
+                      net, NULL, skb, skb->dev, rt->dst.dev,
+                      ip_forward_finish);
 
 sr_failed:
        /*