]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Fix leak when deleting rules
authorPhil Sutter <phil@nwl.cc>
Tue, 5 May 2020 11:41:43 +0000 (13:41 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 11 May 2020 12:28:29 +0000 (14:28 +0200)
commitbbf0db5057fd39c793ab88efd7daa1fa4347cec2
tree92600a5db10f678ed65154ed88dc7743fa7203a9
parent5fdb447fdfe877bd6236830b4a2507d4d61bc1a1
nft: Fix leak when deleting rules

For NFT_COMPAT_RULE_DELETE jobs, batch_obj_del() has to do the rule
freeing, they are no longer in cache.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft.c