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)
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

Simple merge