Re: [PATCH nf] netfilter: uapi: correct UNTRACKED conntrack state bit number

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

 



On Wed, Dec 20, 2017 at 12:08:33PM +0100, Florian Westphal wrote:
> nft_ct exposes this bit to userspace.  This used to be
> 
>   #define NF_CT_STATE_UNTRACKED_BIT              (1 << (IP_CT_NUMBER + 1))
>   (IP_CT_NUMBER is 5, so this was 0x40)
> 
> .. but this got changed to 8 (0x100) when the untracked object got removed.
> Replace this with a literal 6 to prevent further incompatible changes
> in case IP_CT_NUMBER ever increases.

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