ipv4, ipv6: Pass net into ip_local_out and ip6_local_out
[firefly-linux-kernel-4.4.55.git] / include / net / ip.h
index 34b40381fb9ba056a3c189ffc49b6323711ab765..7febbab784cdfa4635fd4cf499ce78d78934db22 100644 (file)
@@ -113,7 +113,7 @@ int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
                   int (*output)(struct net *, struct sock *, struct sk_buff *));
 void ip_send_check(struct iphdr *ip);
 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
-int ip_local_out(struct sock *sk, struct sk_buff *skb);
+int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
 
 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
 void ip_init(void);