]> git.ipfire.org Git - thirdparty/linux.git/commit
net: allow skb_release_head_state() to be called multiple times
authorEric Dumazet <edumazet@google.com>
Thu, 6 Nov 2025 20:29:33 +0000 (20:29 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Nov 2025 03:02:39 +0000 (19:02 -0800)
commit1fcf572211da626982223ab4e4641bcd92db0701
tree21ae9a71a1917fdd0ed9fe308d70c3b7064f1827
parentfd9557c3606bb683c01a6c7627e915b539b9a8df
net: allow skb_release_head_state() to be called multiple times

Currently, only skb dst is cleared (thanks to skb_dst_drop())

Make sure skb->destructor, conntrack and extensions are cleared.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20251106202935.1776179-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/skbuff.c