Revert "netfilter: ipset: Add list flush to cancel_gc"

This reverts commit 92bba407f6.
This commit is contained in:
Ksawlii 2024-11-24 00:23:55 +01:00
parent 9b5b6a7525
commit 6e343e2374

View file

@ -547,9 +547,6 @@ list_set_cancel_gc(struct ip_set *set)
if (SET_WITH_TIMEOUT(set))
del_timer_sync(&map->gc);
/* Flush list to drop references to other ipsets */
list_set_flush(set);
}
static const struct ip_set_type_variant set_variant = {