netfilter: ipset: fix checking the type revision at create command
commit5c1aba467828bf0574ec5754c84884d573f590af
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 20 Mar 2011 14:35:01 +0000 (20 15:35 +0100)
committerPatrick McHardy <kaber@trash.net>
Sun, 20 Mar 2011 14:35:01 +0000 (20 15:35 +0100)
tree12973d3d9f15cb6e1f95e2e9f8dd930ad36aa629
parent5e0c1eb7e6b61998c7ecd39b7f69a15773d894d4
netfilter: ipset: fix checking the type revision at create command

The revision of the set type was not checked at the create command: if the
userspace sent a valid set type but with not supported revision number,
it'd create a loop.

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