diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-02-19 19:43:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-01 13:41:58 +0100 |
commit | 4d74eaaee8201e7635d38333a5e466e7484991d3 (patch) | |
tree | 7e9207d60f7a223f6449221dcbcf695b33ae42dd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2d17cf10179a7de6d8f0128168b84ad0b4a1863f (diff) |
netfilter: nf_tables: register hooks last when adding new chain/flowtable
[ Upstream commit d472e9853d7b46a6b094224d131d09ccd3a03daf ]
Register hooks last when adding chain/flowtable to ensure that packets do
not walk over datastructure that is being released in the error path
without waiting for the rcu grace period.
Fixes: 91c7b38dc9f0 ("netfilter: nf_tables: use new transaction infrastructure to handle chain")
Fixes: 3b49e2e94e6e ("netfilter: nf_tables: add flow table netlink frontend")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions