diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 5c937c556..87c572ba6 100755 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -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; }