]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: ctnetlink: remove refcounting in dying list dumping
authorFlorian Westphal <fw@strlen.de>
Fri, 15 Aug 2025 12:55:49 +0000 (14:55 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 20 Aug 2025 11:52:36 +0000 (13:52 +0200)
commit08d07f25fd5e2ca3d32444f8c41e9e6e59e8a54e
tree87892140e240c9d2deef1edc687f060441bd61bf
parent5c69e0b395c1ffb37fd6fbdbd428353fc0894005
netfilter: ctnetlink: remove refcounting in dying list dumping

There is no need to keep the object alive via refcount, use a cookie and
then use that as the skip hint for dump resumption.

Unlike the two earlier, similar patches in this file, this is a cleanup
without intended side effects.

Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_conntrack_netlink.c