]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: Fix the order of listing of sets
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 19 Apr 2011 13:59:15 +0000 (15:59 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 19 Apr 2011 13:59:15 +0000 (15:59 +0200)
commit10483aea7658165a0197de86a77f43bb0eca789c
tree28e610c98f0f71e42e9676fc3e3e6bb9fe112056
parentba59276404ad7e19db0ded4531776aa3441037b1
netfilter: ipset: Fix the order of listing of sets

A restoreable saving of sets requires that list:set type of sets
come last and the code part which should have taken into account
the ordering was broken. The patch fixes the listing order.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipset/ip_set_core.c