]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c93b3e5d087c44e3fbc4e0f0a1b14e978a7bd83
tree27075eb516278f2fdfcbc327c452f28dd418135d
parent564164d9569376c37b5ff7f03363d1bb0752889b
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