aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 5fbf96552cac..2eb58844403c 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -111,7 +111,7 @@ void tcp_unhash(struct sock *sk)
111 inet_unhash(&tcp_hashinfo, sk); 111 inet_unhash(&tcp_hashinfo, sk);
112} 112}
113 113
114static inline __u32 tcp_v4_init_sequence(struct sock *sk, struct sk_buff *skb) 114static inline __u32 tcp_v4_init_sequence(struct sk_buff *skb)
115{ 115{
116 return secure_tcp_sequence_number(skb->nh.iph->daddr, 116 return secure_tcp_sequence_number(skb->nh.iph->daddr,
117 skb->nh.iph->saddr, 117 skb->nh.iph->saddr,
@@ -859,7 +859,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
859 goto drop_and_free; 859 goto drop_and_free;
860 } 860 }
861 861
862 isn = tcp_v4_init_sequence(sk, skb); 862 isn = tcp_v4_init_sequence(skb);
863 } 863 }
864 tcp_rsk(req)->snt_isn = isn; 864 tcp_rsk(req)->snt_isn = isn;
865 865