mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
tcp: add two drop reasons for tcp_ack()
Add TCP_TOO_OLD_ACK and TCP_ACK_UNSENT_DATA drop reasons so that tcp_rcv_established() can report them. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
669da7a718
commit
4b506af9c5
@@ -390,6 +390,8 @@ enum skb_drop_reason {
|
||||
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_TCP_TOO_OLD_ACK, /* TCP ACK is too old */
|
||||
SKB_DROP_REASON_TCP_ACK_UNSENT_DATA, /* TCP ACK for data we haven't sent yet */
|
||||
SKB_DROP_REASON_IP_OUTNOROUTES, /* route lookup failed */
|
||||
SKB_DROP_REASON_BPF_CGROUP_EGRESS, /* dropped by
|
||||
* BPF_PROG_TYPE_CGROUP_SKB
|
||||
|
||||
Reference in New Issue
Block a user