netfilter: ipset: fix ip_set_flush return code
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 24 May 2011 08:20:19 +0000 (10:20 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 May 2011 17:08:11 +0000 (19:08 +0200)
commit9184a9cba622d9e38462ce11dff7da094b4fea84
treeae35f60357455d32a7d08d106cde85befffcc78a
parentb141c242ff978b63cdf0f3d1a767a5152750166b
netfilter: ipset: fix ip_set_flush return code

ip_set_flush returned -EPROTO instead of -IPSET_ERR_PROTOCOL, fixed

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