Commit 3e70489
committed
netfilter: nf_tables: unbind non-anonymous set if rule construction fails
Otherwise a dangling reference to a rule object that is gone remains
in the set binding list.
Fixes: 26b5a57 ("netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent f188d30 commit 3e70489
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5343 | 5343 | | |
5344 | 5344 | | |
5345 | 5345 | | |
| 5346 | + | |
| 5347 | + | |
5346 | 5348 | | |
5347 | 5349 | | |
5348 | 5350 | | |
| |||
0 commit comments