nefilter: eache: reduce struct size from 32 to 24 byte
authorFlorian Westphal <fw@strlen.de>
Tue, 18 Apr 2017 15:27:32 +0000 (17:27 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Apr 2017 15:55:17 +0000 (17:55 +0200)
commit01026edef9062b7d26ace74a5b4a5a33a2399501
treebcd966eca90cfe9f482833b0b84ed701c6866dfd
parentc6dd940b1f747bee62865e348d360f602057196e
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>
include/net/netfilter/nf_conntrack_ecache.h
include/uapi/linux/netfilter/nf_conntrack_common.h
net/netfilter/nf_conntrack_ecache.c