projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b1b67
)
ipv6: use SKB_DROP_REASON_PKT_TOO_BIG in ip6_xmit()
author
Eric Dumazet
<edumazet@google.com>
Fri, 30 Jan 2026 21:02:59 +0000
(21:02 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 3 Feb 2026 01:49:29 +0000
(17:49 -0800)
When a too big packet is dropped, use SKB_DROP_REASON_PKT_TOO_BIG.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link:
https://patch.msgid.link/20260130210303.3888261-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ip6_output.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ip6_output.c
b/net/ipv6/ip6_output.c
index
279d4da
..
4bb6126
100644
(file)
--- a/
net/ipv6/ip6_output.c
+++ b/
net/ipv6/ip6_output.c
@@
-383,7
+383,7
@@
int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
ipv6_local_error((struct sock *)sk, EMSGSIZE, fl6, mtu);
IP6_INC_STATS(net, idev, IPSTATS_MIB_FRAGFAILS);
- kfree_skb
(skb
);
+ kfree_skb
_reason(skb, SKB_DROP_REASON_PKT_TOO_BIG
);
unlock:
rcu_read_unlock();
return ret;