netfilter: ipset: set match and SET target fixes
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 13 Apr 2011 11:45:57 +0000 (13:45 +0200)
committerPatrick McHardy <kaber@trash.net>
Wed, 13 Apr 2011 11:45:57 +0000 (13:45 +0200)
commiteafbd3fde6fc5ada0d61307367e408813b04928a
tree4a8a2f60317d3f50b5633e47023e4fdcb0d0408d
parent0e8a835aa59d08d702af0fcfd296e2218b2e344b
netfilter: ipset: set match and SET target fixes

The SET target with --del-set did not work due to using wrongly
the internal dimension of --add-set instead of --del-set.
Also, the checkentries did not release the set references when
returned an error. Bugs reported by Lennert Buytenhek.

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