tcp: add a dropreason definitions and prepare for cookie check
authorJason Xing <kernelxing@tencent.com>
Mon, 26 Feb 2024 03:22:18 +0000 (11:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 10:39:21 +0000 (10:39 +0000)
commit48e4704aedb9f17213206dc649fdac90f94cb749
tree78edce16a0cd35e835a02c2bdd4918a8759d6675
parent12a686c2e761f1f1f6e6e2117a9ab9c6de2ac8a7
tcp: add a dropreason definitions and prepare for cookie check

Adding one drop reason to detect the condition of skb dropped
because of hook points in cookie check and extending NO_SOCKET
to consider another two cases can be used later.

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>
include/net/dropreason-core.h