net: dropreason: add SKB_DROP_REASON_FRAG_TOO_FAR
authorEric Dumazet <edumazet@google.com>
Sat, 29 Oct 2022 15:45:20 +0000 (15:45 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Nov 2022 03:14:27 +0000 (20:14 -0700)
commit3bdfb04f13ebdd4ae50fc5dc595663874781e48c
tree042e3e6a4c27c96c782f403bd60b1eec3780b3bb
parent77adfd3a1d44c4730fd2af99b497e04ddc2b5837
net: dropreason: add SKB_DROP_REASON_FRAG_TOO_FAR

IPv4 reassembly unit can decide to drop frags based on
/proc/sys/net/ipv4/ipfrag_max_dist sysctl.

Add a specific drop reason to track this specific
and weird case.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dropreason.h
net/ipv4/ip_fragment.c