netfilter: ipset: Validate the set family and not the set type family at swapping
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 16 Sep 2013 18:07:35 +0000 (20:07 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 16 Sep 2013 18:36:05 +0000 (20:36 +0200)
commit169faa2e19478b02027df04582ec7543dba1dd16
tree252409d49a716aaff5354b87f2105aae716e014e
parent0f1799ba1a5db4c48b72ac2da2dc70d8c190a73d
netfilter: ipset: Validate the set family and not the set type family at swapping

This closes netfilter bugzilla #843, reported by Quentin Armitage.

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