diff options
author | Eric Dumazet <edumazet@google.com> | 2022-04-15 17:10:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-17 13:31:31 +0100 |
commit | 669da7a71890b2b2a31a7e9571c0fdf1123e26ef (patch) | |
tree | 5f35d20410472111b4277590ac519d897e498c24 /include/linux/skbuff.h | |
parent | 37fd4e842391a1b947789969ae8454f1596735c8 (diff) | |
download | linux-669da7a71890b2b2a31a7e9571c0fdf1123e26ef.tar.gz linux-669da7a71890b2b2a31a7e9571c0fdf1123e26ef.tar.bz2 linux-669da7a71890b2b2a31a7e9571c0fdf1123e26ef.zip |
tcp: add drop reasons to tcp_rcv_state_process()
Add basic support for drop reasons in tcp_rcv_state_process()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index a903da1fa0ed..6f1410b5ff13 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -387,6 +387,9 @@ enum skb_drop_reason { SKB_DROP_REASON_TCP_INVALID_SEQUENCE, /* Not acceptable SEQ field */ SKB_DROP_REASON_TCP_RESET, /* Invalid RST packet */ SKB_DROP_REASON_TCP_INVALID_SYN, /* Incoming packet has unexpected SYN flag */ + SKB_DROP_REASON_TCP_CLOSE, /* TCP socket in CLOSE state */ + SKB_DROP_REASON_TCP_FASTOPEN, /* dropped by FASTOPEN request socket */ + SKB_DROP_REASON_TCP_OLD_ACK, /* TCP ACK is old, but in window */ SKB_DROP_REASON_IP_OUTNOROUTES, /* route lookup failed */ SKB_DROP_REASON_BPF_CGROUP_EGRESS, /* dropped by * BPF_PROG_TYPE_CGROUP_SKB |