Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252273
b: refs/heads/master
c: b141c24
h: refs/heads/master
i:
  252271: f4fa1bc
v: v3
  • Loading branch information
Jozsef Kadlecsik authored and Pablo Neira Ayuso committed May 26, 2011
1 parent 7ad352f commit 9cc25a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 249ddc79a38a8918ad53ac22606ca8af694344a5
refs/heads/master: b141c242ff978b63cdf0f3d1a767a5152750166b
4 changes: 2 additions & 2 deletions trunk/include/linux/netfilter/ipset/ip_set_ahash.h
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ type_pf_tdel(struct ip_set *set, void *value, u32 timeout)
struct htable *t = h->table;
const struct type_pf_elem *d = value;
struct hbucket *n;
int i, ret = 0;
int i;
struct type_pf_elem *data;
u32 key;

Expand All @@ -850,7 +850,7 @@ type_pf_tdel(struct ip_set *set, void *value, u32 timeout)
if (!type_pf_data_equal(data, d))
continue;
if (type_pf_data_expired(data))
ret = -IPSET_ERR_EXIST;
return -IPSET_ERR_EXIST;
if (i != n->pos - 1)
/* Not last one */
type_pf_data_copy(data, ahash_tdata(n, n->pos - 1));
Expand Down

0 comments on commit 9cc25a5

Please sign in to comment.