diff options
author | 2018-07-14 16:36:29 +0800 | |
---|---|---|
committer | 2018-07-14 11:21:40 -0700 | |
commit | ff0432e5a8025df895813408325b2afdfa21f946 (patch) | |
tree | bb767ce5300e0b14e5a34f9f23ec81b0d4d3df22 /include/linux/netfilter_ipv4.h | |
parent | net: mvpp2: mvpp2_cls_flow_get() can be static (diff) | |
download | wireguard-linux-ff0432e5a8025df895813408325b2afdfa21f946.tar.xz wireguard-linux-ff0432e5a8025df895813408325b2afdfa21f946.zip |
tcp: remove redundant rcv_nxt update
tcp_rcv_nxt_update() is already executed in tcp_data_queue().
This line is redundant.
See bellow,
tcp_queue_rcv
tcp_rcv_nxt_update(tcp_sk(sk), TCP_SKB_CB(skb)->end_seq);
tcp_rcv_nxt_update(tp, TCP_SKB_CB(skb)->end_seq); <<<< redundant
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_ipv4.h')
0 files changed, 0 insertions, 0 deletions