On Mon, Sep 11, 2017 at 09:52:40PM +0200, Jozsef Kadlecsik wrote: > From: Vishwanath Pai <vpai@xxxxxxxxxx> > > Simple testcase: > > $ ipset create test hash:ip timeout 5 > $ ipset add test 1.2.3.4 > $ ipset add test 1.2.2.2 > $ sleep 5 > > $ ipset l > Name: test > Type: hash:ip > Revision: 5 > Header: family inet hashsize 1024 maxelem 65536 timeout 5 > Size in memory: 296 > References: 0 > Number of entries: 2 > Members: > > We return "Number of entries: 2" but no members are listed. That is > because mtype_list runs "ip_set_timeout_expired" and does not list the > expired entries, but set->elements is never upated (until mtype_gc > cleans it up later). Applied to nf.git. Thanks Jozsef. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html