ebtables: remove nf_hook_register usage
authorFlorian Westphal <fw@strlen.de>
Wed, 19 Apr 2017 22:45:48 +0000 (00:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Apr 2017 07:30:21 +0000 (09:30 +0200)
commitaee12a0a3727e16fb837367c4755cb6daaf45109
treec684d83f1c47cea6513993e40ffb3b9c6a5f1b13
parent1a0ed0ad4812a59a19f3bdb237601389214d1ed1
ebtables: remove nf_hook_register usage

Similar to ip_register_table, pass nf_hook_ops to ebt_register_table().
This allows to handle hook registration also via pernet_ops and allows
us to avoid use of legacy register_hook api.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_bridge/ebtables.h
net/bridge/netfilter/ebtable_broute.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c
net/bridge/netfilter/ebtables.c