tcp: make tcp_rcv_state_process() drop monitor friendly
authorEric Dumazet <edumazet@google.com>
Sat, 16 Apr 2022 00:10:42 +0000 (17:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2022 12:31:31 +0000 (13:31 +0100)
commit37fd4e842391a1b947789969ae8454f1596735c8
tree27075eb516278f2fdfcbc327c452f28dd418135d
parentda40b613f89c43c58986e6f30560ad6573a4d569
tcp: make tcp_rcv_state_process() drop monitor friendly

tcp_rcv_state_process() incorrectly drops packets
instead of consuming it, making drop monitor very noisy,
if not unusable.

Calling tcp_time_wait() or tcp_done() is part
of standard behavior, packets triggering these actions
were not dropped.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c