mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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:91c7b38dc9("netfilter: nf_tables: use new transaction infrastructure to handle chain") Fixes:3b49e2e94e("netfilter: nf_tables: add flow table netlink frontend") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
8762785f45
commit
d472e9853d
1 changed files with 40 additions and 38 deletions
Loading…
Add table
Add a link
Reference in a new issue