diff options
| author | 2026-05-06 12:07:16 +0200 | |
|---|---|---|
| committer | 2026-05-08 01:30:16 +0200 | |
| commit | d338693d778579b676a61346849bebd892427158 (patch) | |
| tree | 82e4b0a8e0721e6530a0e47078408c162dd066ca /tools/tracing/rtla/example/git:/ssh:/git@git.zx2c4.com | |
| parent | netfilter: x_tables: add and use xt_unregister_table_pre_exit (diff) | |
netfilter: x_tables: unregister the templates first
When the module is going away we need to zap the template
first. Else there is a small race window where userspace
could instantiate a new table after the pernet exit function
has removed the current table.
Fixes: fdacd57c79b7 ("netfilter: x_tables: never register tables by default")
Reported-by: Tristan Madani <tristan@talencesecurity.com>
Reviewed-by: Tristan Madani <tristan@talencesecurity.com>
Closes: https://lore.kernel.org/netfilter-devel/20260429175613.1459342-1-tristmd@gmail.com/
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/tracing/rtla/example/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
