summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-05-04 19:20:52 +0200
committerPhil Sutter <phil@nwl.cc>2020-05-11 14:28:29 +0200
commit196401937d76f990ad59a4a93cd5a45e91a2b12a (patch)
tree23687dc1bf867d86c3a5b6bfd39a948a17c5f640 /iptables/xtables-restore.c
parentf42bfb344af82d10615420a96d088f11a0f78065 (diff)
nft: Clear all lists in nft_fini()
Remove and free any pending entries in obj_list and err_list as well. To get by without having to declare list-specific cursors, use generic list_head types and call list_entry() explicitly. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-restore.c')
0 files changed, 0 insertions, 0 deletions