commit | 5bd3ab5c778033877d44a0c619ef6f98f34516af | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Apr 24 11:32:08 2020 +0200 |
committer | Phil Sutter <phil@nwl.cc> | Mon May 11 14:28:29 2020 +0200 |
tree | 3a1d034b0318eca53ea57917999c935c4575a593 | |
parent | ea8bb5100a69d1fd39cf737e3bf3acd6631a10f3 [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>