diff options
author | Eric Dumazet <edumazet@google.com> | 2022-10-29 18:45:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-01 06:14:26 +0300 |
commit | 4ecbb1c27c363686d11a241cd682a454a8454c2b (patch) | |
tree | 70527c264c8a2c1f4174f228a48f862eb81bc428 /include/net/dropreason.h | |
parent | 511a3eda2f8d4719114ee3f2c781c37233bd171f (diff) | |
download | linux-4ecbb1c27c363686d11a241cd682a454a8454c2b.tar.xz |
net: dropreason: add SKB_DROP_REASON_DUP_FRAG
This is used to track when a duplicate segment received by various
reassembly units is dropped.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/dropreason.h')
-rw-r--r-- | include/net/dropreason.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/dropreason.h b/include/net/dropreason.h index 0bd18c14dae0..602d555a5f83 100644 --- a/include/net/dropreason.h +++ b/include/net/dropreason.h @@ -68,6 +68,7 @@ FN(IP_INADDRERRORS) \ FN(IP_INNOROUTES) \ FN(PKT_TOO_BIG) \ + FN(DUP_FRAG) \ FNe(MAX) /** @@ -300,6 +301,8 @@ enum skb_drop_reason { * MTU) */ SKB_DROP_REASON_PKT_TOO_BIG, + /** @SKB_DROP_REASON_DUP_FRAG: duplicate fragment */ + SKB_DROP_REASON_DUP_FRAG, /** * @SKB_DROP_REASON_MAX: the maximum of drop reason, which shouldn't be * used as a real 'reason' |