ipv4: tcp: remove per net tcp_sock
[firefly-linux-kernel-4.4.55.git] / include / net / ip.h
index ec5cfde85e9af85d57c875dbb534d981d363a68f..bd5e444a19ce43482f09f695c6e3b36a303302b3 100644 (file)
@@ -158,7 +158,7 @@ static inline __u8 ip_reply_arg_flowi_flags(const struct ip_reply_arg *arg)
        return (arg->flags & IP_REPLY_ARG_NOSRCCHECK) ? FLOWI_FLAG_ANYSRC : 0;
 }
 
-void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb, __be32 daddr,
+void ip_send_unicast_reply(struct net *net, struct sk_buff *skb, __be32 daddr,
                           __be32 saddr, const struct ip_reply_arg *arg,
                           unsigned int len);