summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cmd.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-04-24 11:32:08 +0200
committerPhil Sutter <phil@nwl.cc>2020-05-11 14:28:29 +0200
commit5bd3ab5c778033877d44a0c619ef6f98f34516af (patch)
tree3a1d034b0318eca53ea57917999c935c4575a593 /iptables/nft-cmd.h
parentea8bb5100a69d1fd39cf737e3bf3acd6631a10f3 (diff)
nft: Fix for '-F' in iptables dumps
When restoring a dump which contains an explicit flush command, previously added rules are removed from cache and the following commit will try to create netlink messages based on freed memory. Fix this by weeding any rule-based commands from obj_list if they address the same chain. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-cmd.h')
0 files changed, 0 insertions, 0 deletions