Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360769
b: refs/heads/master
c: dd82088
h: refs/heads/master
i:
  360767: cd9e66b
v: v3
  • Loading branch information
Jozsef Kadlecsik committed Feb 21, 2013
1 parent bb90062 commit 1399313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf1c4a094f46ace5bf00078e2db73491ddf018fe
refs/heads/master: dd82088dab3646ed28e4aa43d1a5b5d5ffc2afba
3 changes: 2 additions & 1 deletion trunk/net/netfilter/ipset/ip_set_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,8 @@ ip_set_utest(struct sock *ctnl, struct sk_buff *skb,
if (ret == -EAGAIN)
ret = 1;

return ret < 0 ? ret : ret > 0 ? 0 : -IPSET_ERR_EXIST;
return (ret < 0 && ret != -ENOTEMPTY) ? ret :
ret > 0 ? 0 : -IPSET_ERR_EXIST;
}

/* Get headed data of a set */
Expand Down

0 comments on commit 1399313

Please sign in to comment.