|
@@ -815,7 +815,7 @@ ip_set_flush(struct sock *ctnl, struct sk_buff *skb,
|
|
ip_set_id_t i;
|
|
ip_set_id_t i;
|
|
|
|
|
|
if (unlikely(protocol_failed(attr)))
|
|
if (unlikely(protocol_failed(attr)))
|
|
- return -EPROTO;
|
|
|
|
|
|
+ return -IPSET_ERR_PROTOCOL;
|
|
|
|
|
|
if (!attr[IPSET_ATTR_SETNAME]) {
|
|
if (!attr[IPSET_ATTR_SETNAME]) {
|
|
for (i = 0; i < ip_set_max; i++)
|
|
for (i = 0; i < ip_set_max; i++)
|