aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-03-14 19:40:10 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:46 -0400
commit010c7d6f867e98c86723f420d485583464fbab45 (patch)
tree5ee196dbe0709ba70dbf385c5b7cde78ffc7c90a /net
parent73c361862c2be2e4ed6019da283fe1b422107f16 (diff)
[NETFILTER]: nf_conntrack: uninline notifier registration functions
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nf_conntrack_ecache.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_ecache.c b/net/netfilter/nf_conntrack_ecache.c
index 1a223e0c0856..6bd421df2dbc 100644
--- a/net/netfilter/nf_conntrack_ecache.c
+++ b/net/netfilter/nf_conntrack_ecache.c
@@ -91,3 +91,26 @@ void nf_ct_event_cache_flush(void)
91 } 91 }
92} 92}
93 93
94int nf_conntrack_register_notifier(struct notifier_block *nb)
95{
96 return atomic_notifier_chain_register(&nf_conntrack_chain, nb);
97}
98EXPORT_SYMBOL_GPL(nf_conntrack_register_notifier);
99
100int nf_conntrack_unregister_notifier(struct notifier_block *nb)
101{
102 return atomic_notifier_chain_unregister(&nf_conntrack_chain, nb);
103}
104EXPORT_SYMBOL_GPL(nf_conntrack_unregister_notifier);
105
106int nf_conntrack_expect_register_notifier(struct notifier_block *nb)
107{
108 return atomic_notifier_chain_register(&nf_conntrack_expect_chain, nb);
109}
110EXPORT_SYMBOL_GPL(nf_conntrack_expect_register_notifier);
111
112int nf_conntrack_expect_unregister_notifier(struct notifier_block *nb)
113{
114 return atomic_notifier_chain_unregister(&nf_conntrack_expect_chain, nb);
115}
116EXPORT_SYMBOL_GPL(nf_conntrack_expect_unregister_notifier);