diff options
author | Eric Dumazet <edumazet@google.com> | 2022-02-22 10:13:31 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-02-23 09:22:46 +0100 |
commit | ae089831ff28a115908b8d796f667c2dadef1637 (patch) | |
tree | 84f054ce8e22d7fa5056133ef7cb625883d7ce2b /certs | |
parent | 277f2bb14361790a70e4b3c649e794b75a91a597 (diff) | |
download | linux-ae089831ff28a115908b8d796f667c2dadef1637.tar.bz2 |
netfilter: nf_tables: prefer kfree_rcu(ptr, rcu) variant
While kfree_rcu(ptr) _is_ supported, it has some limitations.
Given that 99.99% of kfree_rcu() users [1] use the legacy
two parameters variant, and @catchall objects do have an rcu head,
simply use it.
Choice of kfree_rcu(ptr) variant was probably not intentional.
[1] including calls from net/netfilter/nf_tables_api.c
Fixes: aaa31047a6d2 ("netfilter: nftables: add catch-all set element support")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions