nefilter: eache: reduce struct size from 32 to 24 byte
Only "cache" needs to use ulong (its used with set_bit()), missed can use u16. Also add build-time assertion to ensure event bits fit. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
c6dd940b1f
commit
01026edef9
3 changed files with 8 additions and 2 deletions
|
|
@ -119,6 +119,9 @@ enum ip_conntrack_events {
|
|||
IPCT_NATSEQADJ = IPCT_SEQADJ,
|
||||
IPCT_SECMARK, /* new security mark has been set */
|
||||
IPCT_LABEL, /* new connlabel has been set */
|
||||
#ifdef __KERNEL__
|
||||
__IPCT_MAX
|
||||
#endif
|
||||
};
|
||||
|
||||
enum ip_conntrack_expect_events {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue