summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-01-05 09:36:30 +0000
committerJakub Kicinski <kuba@kernel.org>2026-01-06 17:05:17 -0800
commite5c8eda39a9fc1547d1398d707aa06c1d080abdd (patch)
treeddaa6fb5b38f4d8b9d243e246b180fea088dce85 /rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
parent7801edc9badd972cb62cf11c0427e70b6dca239d (diff)
udp: call skb_orphan() before skb_attempt_defer_free()
Standard UDP receive path does not use skb->destructor. But skmsg layer does use it, since it calls skb_set_owner_sk_safe() from udp_read_skb(). This then triggers this warning in skb_attempt_defer_free(): DEBUG_NET_WARN_ON_ONCE(skb->destructor); We must call skb_orphan() to fix this issue. Fixes: 6471658dc66c ("udp: use skb_attempt_defer_free()") Reported-by: syzbot+3e68572cf2286ce5ebe9@syzkaller.appspotmail.com Closes: https://lore.kernel.org/netdev/695b83bd.050a0220.1c9965.002b.GAE@google.com/T/#u Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260105093630.1976085-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions