]> git.ipfire.org Git - thirdparty/linux.git/commit
inet: frags: add inet_frag_queue_flush()
authorJakub Kicinski <kuba@kernel.org>
Sun, 7 Dec 2025 01:09:40 +0000 (17:09 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Dec 2025 09:15:27 +0000 (01:15 -0800)
commit1231eec6994be29d6bb5c303dfa54731ed9fc0e6
tree2535b0cd772ff87b500aa3f3e65865174aa554ac
parent8ef522c8a59a048117f7e05eb5213043c02f986f
inet: frags: add inet_frag_queue_flush()

Instead of exporting inet_frag_rbtree_purge() which requires that
caller takes care of memory accounting, add a new helper. We will
need to call it from a few places in the next patch.

Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251207010942.1672972-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet_frag.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c