tcp: add more specific possible drop reasons in tcp_rcv_synsent_state_process()
authorJason Xing <kernelxing@tencent.com>
Mon, 26 Feb 2024 03:22:24 +0000 (11:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 10:39:22 +0000 (10:39 +0000)
commite615e3a24ed6f1a501f9b5426ec0b476fded4d22
treedde8ecf501ece7dc5827a8b4418cde6095a9a412
parent3d359faba191c95e97ac6699b0163e797812bfca
tcp: add more specific possible drop reasons in tcp_rcv_synsent_state_process()

This patch does two things:
1) add two more new reasons
2) only change the return value(1) to various drop reason values
for the future use

For now, we still cannot trace those two reasons. We'll implement the full
function in the subsequent patch in this series.

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c