netfilter: ipset: fix crash if IPSET_CMD_NONE command is sent
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Thu, 28 Jun 2012 02:57:48 +0000 (02:57 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 29 Jun 2012 11:04:04 +0000 (13:04 +0200)
commitd31f4d448f7671dc3e6a7a1c92a4c085a36058bb
treefafed9f713c18c573c499c45fb1461ee49f24516
parenta2da399823ccb0f4ddf83700bf297803e5320f7e
netfilter: ipset: fix crash if IPSET_CMD_NONE command is sent

This patch fixes a crash if that ipset command is sent over nfnetlink.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/ip_set_core.c