diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-02-19 19:43:53 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-02-22 00:14:54 +0100 |
commit | d472e9853d7b46a6b094224d131d09ccd3a03daf (patch) | |
tree | 90d83156a9ddeadbcf994a98625584287ce950c3 /ipc/sem.c | |
parent | 8762785f459be1cfe6fcf7285c123aad6a3703f0 (diff) |
netfilter: nf_tables: register hooks last when adding new chain/flowtable
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>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions