diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-03 01:06:41 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-03 18:18:12 +0200 |
commit | e0c47281723f301894c14e6f5cd5884fdfb813f9 (patch) | |
tree | cb28f37d26ec23bba401ead04966db447ee26ca6 /net/unix/af_unix.c | |
parent | c362646b6fc15009219020c443f5256190be6436 (diff) | |
download | linux-e0c47281723f301894c14e6f5cd5884fdfb813f9.tar.gz linux-e0c47281723f301894c14e6f5cd5884fdfb813f9.tar.bz2 linux-e0c47281723f301894c14e6f5cd5884fdfb813f9.zip |
netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
Element timeout that is below CONFIG_HZ never expires because the
timeout extension is not allocated given that nf_msecs_to_jiffies64()
returns 0. Set timeout to the minimum value to honor timeout.
Fixes: 8e1102d5a159 ("netfilter: nf_tables: support timeouts larger than 23 days")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions