Commit 9dd732e
committed
netfilter: nf_tables: memleak flow rule from commit path
Abort path release flow rule object, however, commit path does not.
Update code to destroy these objects before releasing the transaction.
Fixes: c9626a2 ("netfilter: nf_tables: add hardware offload support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent c271cc9 commit 9dd732e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8329 | 8329 | | |
8330 | 8330 | | |
8331 | 8331 | | |
| 8332 | + | |
| 8333 | + | |
| 8334 | + | |
8332 | 8335 | | |
8333 | 8336 | | |
8334 | 8337 | | |
| |||
8817 | 8820 | | |
8818 | 8821 | | |
8819 | 8822 | | |
| 8823 | + | |
| 8824 | + | |
| 8825 | + | |
8820 | 8826 | | |
8821 | 8827 | | |
8822 | 8828 | | |
| |||
0 commit comments