Re: netfilter 02/02: nf_conntrack_proto_gre: switch to register_pernet_gen_subsys()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Thu, 30 Oct 2008 08:31:47 +0100 (MET)

>     netfilter: nf_conntrack_proto_gre: switch to register_pernet_gen_subsys()
>     
>     register_pernet_gen_device() can't be used is nf_conntrack_pptp module is
>     also used (compiled in or loaded).
>     
>     Right now, proto_gre_net_exit() is called before nf_conntrack_pptp_net_exit().
>     The former shutdowns and frees GRE piece of netns, however the latter
>     absolutely needs it to flush keymap. Oops is inevitable.
>     
>     Switch to shiny new register_pernet_gen_subsys() to get correct ordering in
>     netns ops list.
>     
>     Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
>     Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux