netfilter: ecache: remove nf_exp_event_notifier structure
authorFlorian Westphal <fw@strlen.de>
Mon, 16 Aug 2021 15:16:26 +0000 (17:16 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 25 Aug 2021 10:50:38 +0000 (12:50 +0200)
commitbd1431db0b8131098a285c8cc6a357629b4362e5
treec8e9ad1a6ce383bd8ac788ab1786eaefe7e6ac08
parentb86c0e6429dac2458694495aeebf15f4fe6b269d
netfilter: ecache: remove nf_exp_event_notifier structure

Reuse the conntrack event notofier struct, this allows to remove the
extra register/unregister functions and avoids a pointer in struct net.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_ecache.h
include/net/netns/conntrack.h
net/netfilter/nf_conntrack_ecache.c
net/netfilter/nf_conntrack_netlink.c