Re: [PATCH nf-next] netfilter: nf_tables: support timeouts larger than 23 days

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt <jengelh@xxxxxxx> wrote:
> 
> On Monday 2018-04-16 18:04, Florian Westphal wrote:
> >+	u64 max = (u64)(~((u64)0));
> >+	max = div_u64(max, NSEC_PER_MSEC);
> >+	if (ms >= max)
> 
> Why opencode, is there a problem with UINT64_MAX?

There is no UINT64_MAX in kernel (some private defines, but
nothing generally available).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux