netfilter: core: support for NFPROTO_INET hook registration
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 9 Dec 2017 14:30:26 +0000 (15:30 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jan 2018 17:01:19 +0000 (18:01 +0100)
commitcb7ccd835ebb333669e400f99c650e4f3abf11c0
tree831fa70b01b2dfcdbfc56cc4a9006b6a0ee62bb1
parent30259408118f550f5969fda19c0d67020d21eda8
netfilter: core: support for NFPROTO_INET hook registration

Expand NFPROTO_INET in two hook registrations, one for NFPROTO_IPV4 and
another for NFPROTO_IPV6. Hence, we handle NFPROTO_INET from the core.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c