selinux: register nf hooks with single nf_register_hooks call
authorJiri Pirko <jiri@resnulli.us>
Wed, 3 Sep 2014 15:42:13 +0000 (17:42 +0200)
committerPaul Moore <pmoore@redhat.com>
Tue, 9 Sep 2014 00:42:47 +0000 (20:42 -0400)
commit25db6bea1ff5a78ef493eefdcbb9c1d27134e560
tree9d3784b924aad3fcccef0fa47287872995196b39
parenta7a91a1928fe69cc98814cb746d5171ae14d757e
selinux: register nf hooks with single nf_register_hooks call

Push ipv4 and ipv6 nf hooks into single array and register/unregister
them via single call.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/hooks.c