netfilter: conntrack: avoid zeroing timer
authorFlorian Westphal <fw@strlen.de>
Mon, 24 Nov 2014 14:25:57 +0000 (15:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Nov 2014 11:41:06 +0000 (12:41 +0100)
commitc41884ce0562841b98fa9790c9209c9073121a15
tree563949243cc2bb9f83bddee7d94ce27ca541cf1c
parentabc86d0f99242b7f142b7cb8f90e30081dd3c256
netfilter: conntrack: avoid zeroing timer

add a __nfct_init_offset annotation member to struct nf_conn to make
it clear which members are covered by the memset when the conntrack
is allocated.

This avoids zeroing timer_list and ct_net; both are already inited
explicitly.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c