]> granicus.if.org Git - ipset/commit
List timing out entries with "timeout 1" instead of zero timeout value
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 31 May 2018 16:45:21 +0000 (18:45 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 1 Jun 2018 11:22:41 +0000 (13:22 +0200)
commit8b140bd12daffd6b3c6e50af9c55f8a601900664
treecc701a5e9b24b5a1ed389c489aced05d8f1a88f3
parent5f9b3901a058c8a530d3831027a21c5497a07807
List timing out entries with "timeout 1" instead of zero timeout value

When listing sets with timeout support, there's a probability that
just timing out entries with "0" timeout value is listed/saved.
However when restoring the saved list, the zero timeout value means
permanent elelements.

The new behaviour is that timing out entries are listed with "timeout 1"
instead of zero.

Fixes bugzilla #1258.
kernel/include/linux/netfilter/ipset/ip_set_timeout.h