summaryrefslogtreecommitdiff
path: root/net/netfilter/nf_hooks_lwtunnel.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-02-19 21:43:53 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2024-02-22 02:14:54 +0300
commitd472e9853d7b46a6b094224d131d09ccd3a03daf (patch)
tree90d83156a9ddeadbcf994a98625584287ce950c3 /net/netfilter/nf_hooks_lwtunnel.c
parent8762785f459be1cfe6fcf7285c123aad6a3703f0 (diff)
downloadlinux-d472e9853d7b46a6b094224d131d09ccd3a03daf.tar.xz
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 'net/netfilter/nf_hooks_lwtunnel.c')
0 files changed, 0 insertions, 0 deletions