netfilter: conntrack: Use flags in nf_ct_tmpl_alloc()
authorJoe Stringer <joestringer@nicira.com>
Wed, 5 Aug 2015 01:34:00 +0000 (18:34 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 5 Aug 2015 08:56:43 +0000 (10:56 +0200)
commitf58e5aa7b873b8a4376b816993d4b0e903befcba
tree912eb335de8c8527e609eddc2edad2f3dbdbe4aa
parent1a727c63612fc582370cf3dc01239d3d239743b5
netfilter: conntrack: Use flags in nf_ct_tmpl_alloc()

The flags were ignored for this function when it was introduced. Also
fix the style problem in kzalloc.

Fixes: 0838aa7fc (netfilter: fix netns dependencies with conntrack
templates)
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c