summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-08-18 02:13:31 +0300
committerFlorian Westphal <fw@strlen.de>2023-08-23 17:10:01 +0300
commit2c9f0293280e258606e54ed2b96fa71498432eae (patch)
treec7a8b5bef9ff0ff226da0c50cd28860a9c447aad /scripts/gdb/linux/utils.py
parent4b80ced971b0d118f9a11dd503a5833a5016de92 (diff)
downloadlinux-2c9f0293280e258606e54ed2b96fa71498432eae.tar.xz
netfilter: nf_tables: flush pending destroy work before netlink notifier
Destroy work waits for the RCU grace period then it releases the objects with no mutex held. All releases objects follow this path for transactions, therefore, order is guaranteed and references to top-level objects in the hierarchy remain valid. However, netlink notifier might interfer with pending destroy work. rcu_barrier() is not correct because objects are not release via RCU callback. Flush destroy work before releasing objects from netlink notifier path. Fixes: d4bc8271db21 ("netfilter: nf_tables: netlink notifier might race to release objects") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions