diff options
author | Phil Sutter <phil@nwl.cc> | 2024-09-12 14:21:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-26 13:03:01 +0200 |
commit | 642c89c475419b4d0c0d90e29d9c1a0e4351f379 (patch) | |
tree | ca22de45286cdf4992e59d46a09e46fc2ca580ed /net/phonet | |
parent | aa758763be6ddcc1c500c6e4e8a15d604e8eadba (diff) |
netfilter: nf_tables: Keep deleted flowtable hooks until after RCU
Documentation of list_del_rcu() warns callers to not immediately free
the deleted list item. While it seems not necessary to use the
RCU-variant of list_del() here in the first place, doing so seems to
require calling kfree_rcu() on the deleted item as well.
Fixes: 3f0465a9ef02 ("netfilter: nf_tables: dynamically allocate hooks per net_device in flowtables")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions