diff options
author | Pablo Neira Ayuso <[email protected]> | 2024-09-17 23:07:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2024-09-26 13:03:02 +0200 |
commit | 4ffcf5ca81c3b83180473eb0d3c010a1a7c6c4de (patch) | |
tree | f752f42cbb0a852ebb6a4492bf819c1a52864fbf /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | e1f1ee0e9ad8cbe660f5c104e791c5f1a7cf4c31 (diff) |
netfilter: nf_tables: use rcu chain hook list iterator from netlink dump path
Lockless iteration over hook list is possible from netlink dump path,
use rcu variant to iterate over the hook list as is done with flowtable
hooks.
Fixes: b9703ed44ffb ("netfilter: nf_tables: support for adding new devices to an existing netdev chain")
Reported-by: Phil Sutter <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions