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]

 



On Mon, Apr 16, 2018 at 06:04:49PM +0200, Florian Westphal wrote:
> 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.

Applied, thanks Florian.
--
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