[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1761286996-39440-1-git-send-email-liyonglong@chinatelecom.cn>
Date: Fri, 24 Oct 2025 14:23:14 +0800
From: Yonglong Li <liyonglong@...natelecom.cn>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net,
dsahern@...nel.org,
edumazet@...gle.com,
pabeni@...hat.com,
kuba@...nel.org,
horms@...nel.org,
liyonglong@...natelecom.cn
Subject: [PATH net 0/2] add drop reason when do fragment
Add a new drop reason FRAG_FAILED to trace do fragment failed.
And use drop reasons PKT_TOO_BIG when pkt too big.
Reasons show up as:
perf record -e skb:kfree_skb -a; perf script
swapper 0 [005] 154.086537: skb:kfree_skb: ... location=ip6_fragment reason: PKT_TOO_BIG
swapper 0 [005] 154.086540: skb:kfree_skb: ... location=ip6_fragment reason: PKT_TOO_BIG
swapper 0 [005] 154.086544: skb:kfree_skb: ... location=ip6_fragment reason: PKT_TOO_BIG
Yonglong Li (2):
net: ip: add drop reasons when handling ip fragments
net: ipv6: use drop reasons in ip6_fragment
include/net/dropreason-core.h | 3 +++
net/ipv4/ip_output.c | 6 +++---
net/ipv6/ip6_output.c | 6 ++++--
3 files changed, 10 insertions(+), 5 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists