diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-08 11:35:10 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 11:35:10 +0200 |
commit | 3bb0d1c00f86b13bb184193a8f0189ddd6f0459f (patch) | |
tree | 8568fd96a42abf8d64eb83c8afcb1adcdc4bd394 /include/linux/netfilter | |
parent | 84541cc13a3bb31a58c096dde3517461e3ad91c2 (diff) | |
download | linux-3bb0d1c00f86b13bb184193a8f0189ddd6f0459f.tar.gz linux-3bb0d1c00f86b13bb184193a8f0189ddd6f0459f.tar.bz2 linux-3bb0d1c00f86b13bb184193a8f0189ddd6f0459f.zip |
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/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/nf_conntrack_proto_gre.h | 2 |
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 535e4219d2bb..2a10efda17fb 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__ */ |