--- zzzz-none-000/linux-2.6.39.4/include/linux/netfilter/ipset/ip_set_ahash.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/netfilter/ipset/ip_set_ahash.h 2021-11-10 13:38:17.000000000 +0000 @@ -839,7 +839,7 @@ struct htable *t = h->table; const struct type_pf_elem *d = value; struct hbucket *n; - int i; + int i, ret = 0; struct type_pf_elem *data; u32 key; @@ -850,7 +850,7 @@ if (!type_pf_data_equal(data, d)) continue; if (type_pf_data_expired(data)) - return -IPSET_ERR_EXIST; + ret = -IPSET_ERR_EXIST; if (i != n->pos - 1) /* Not last one */ type_pf_data_copy(data, ahash_tdata(n, n->pos - 1));