Revert "netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire"

This reverts commit 059c9b20b2.
This commit is contained in:
Ksawlii 2024-11-24 00:23:30 +01:00
parent 3d470f12ae
commit 606c44293e

View file

@ -4026,7 +4026,7 @@ int nf_msecs_to_jiffies64(const struct nlattr *nla, u64 *result)
return -ERANGE;
ms *= NSEC_PER_MSEC;
*result = nsecs_to_jiffies64(ms) ? : !!ms;
*result = nsecs_to_jiffies64(ms);
return 0;
}