summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-08 11:35:10 +0200
committerPatrick McHardy <kaber@trash.net>2008-10-08 11:35:10 +0200
commit3bb0d1c00f86b13bb184193a8f0189ddd6f0459f (patch)
tree8568fd96a42abf8d64eb83c8afcb1adcdc4bd394 /include
parent84541cc13a3bb31a58c096dde3517461e3ad91c2 (diff)
downloadop-kernel-dev-3bb0d1c00f86b13bb184193a8f0189ddd6f0459f.zip
op-kernel-dev-3bb0d1c00f86b13bb184193a8f0189ddd6f0459f.tar.gz
netfilter: netns nf_conntrack: GRE conntracking in netns
* make keymap list per-netns * per-netns keymal lock (not strictly necessary) * flush keymap at netns stop and module unload. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/nf_conntrack_proto_gre.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/nf_conntrack_proto_gre.h b/include/linux/netfilter/nf_conntrack_proto_gre.h
index 535e4219..2a10efd 100644
--- a/include/linux/netfilter/nf_conntrack_proto_gre.h
+++ b/include/linux/netfilter/nf_conntrack_proto_gre.h
@@ -87,7 +87,7 @@ int nf_ct_gre_keymap_add(struct nf_conn *ct, enum ip_conntrack_dir dir,
/* delete keymap entries */
void nf_ct_gre_keymap_destroy(struct nf_conn *ct);
-extern void nf_ct_gre_keymap_flush(void);
+extern void nf_ct_gre_keymap_flush(struct net *net);
extern void nf_nat_need_gre(void);
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud