netfilter: Add nf_hook_state initializer function.
authorDavid Miller <davem@davemloft.net>
Mon, 6 Apr 2015 02:18:54 +0000 (22:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 19:25:55 +0000 (15:25 -0400)
commit107a9f4dc9211c1f91703d1739d7fd22ac58b332
treec27cc2233721f3a7736b6f3f3f8411e61714de45
parenta3786a5ff7551d03029219f93306106d0a6bdf55
netfilter: Add nf_hook_state initializer function.

This way we can consolidate where we setup new nf_hook_state objects,
to make sure the entire thing is initialized.

The only other place an nf_hook_object is instantiated is nf_queue,
wherein a structure copy is used.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h