summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_dynset.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-04-16 18:04:49 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-04-24 10:29:20 +0200
commit8e1102d5a1596dca10f51e3de800809944f8816d (patch)
treeab0336255bb7b058e9c9babb8c80ea1942b2bb3b /net/netfilter/nft_dynset.c
parentdc3c09d327220db44dce8664584c31f068c53a4a (diff)
netfilter: nf_tables: support timeouts larger than 23 days
Marco De Benedetto says: I would like to use a timeout of 30 days for elements in a set but it seems there is a some kind of problem above 24d20h31m23s. Fix this by using 'jiffies64' for timeout handling to get same behaviour on 32 and 64bit systems. nftables passes timeouts as u64 in milliseconds to the kernel, but on kernel side we used a mixture of 'long' and jiffies conversions rather than u64 and jiffies64. Bugzilla: https://bugzilla.netfilter.org/show_bug.cgi?id=1237 Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_dynset.c')
0 files changed, 0 insertions, 0 deletions