Message ID | 562fd95c0cf9a70789fca00e97e06035b94a7fb4.1389513042.git.panweiping3@gmail.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 8add6bc..8a2b5c7 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -5771,7 +5771,6 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, /* Prevent spurious tcp_cwnd_restart() on first data packet */ tp->lsndtime = tcp_time_stamp; - tcp_initialize_rcv_mss(sk); tcp_fast_path_on(tp); break;
As both tcp_v4_syn_recv_sock() and tcp_v6_syn_recv_sock() already call tcp_initialize_rcv_mss() for new sock, the call of it in tcp_rcv_state_process() is redundant. Signed-off-by: Weiping Pan <panweiping3@gmail.com> --- net/ipv4/tcp_input.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)