tcp: use drop reasons in cookie check for ipv4
authorJason Xing <kernelxing@tencent.com>
Mon, 26 Feb 2024 03:22:20 +0000 (11:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 10:39:21 +0000 (10:39 +0000)
commita4a69a3719ec55f677b8481f58215b6338b781e5
treee22123955eef41bde27f32175ae7f34534daf9cf
parent65be4393f363c4bd5c388ddf3e3eb4abee2b1f79
tcp: use drop reasons in cookie check for ipv4

Now it's time to use the prepared definitions to refine this part.
Four reasons used might enough for now, I think.

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/syncookies.c