Commit 02c6c24
netfilter: nf_tables: GC transaction race with netns dismantle
Use maybe_get_net() since GC workqueue might race with netns exit path.
Fixes: 5f68718 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>1 parent 6a33d8b commit 02c6c24
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9481 | 9481 | | |
9482 | 9482 | | |
9483 | 9483 | | |
| 9484 | + | |
| 9485 | + | |
| 9486 | + | |
| 9487 | + | |
| 9488 | + | |
| 9489 | + | |
9484 | 9490 | | |
9485 | 9491 | | |
9486 | | - | |
9487 | 9492 | | |
9488 | 9493 | | |
9489 | 9494 | | |
| |||
0 commit comments