git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nf_tables: don't skip expired elements during walk
[sfrench/cifs-2.6.git]
/
net
/
netfilter
/
nft_set_hash.c
diff --git
a/net/netfilter/nft_set_hash.c
b/net/netfilter/nft_set_hash.c
index 0b73cb0e752f706f44855105515aa195b1e4403d..24caa31fa2310b66eb1431a3b063ed4362f09124 100644
(file)
--- a/
net/netfilter/nft_set_hash.c
+++ b/
net/netfilter/nft_set_hash.c
@@
-278,8
+278,6
@@
static void nft_rhash_walk(const struct nft_ctx *ctx, struct nft_set *set,
if (iter->count < iter->skip)
goto cont;
- if (nft_set_elem_expired(&he->ext))
- goto cont;
if (!nft_set_elem_active(&he->ext, iter->genmask))
goto cont;