ppp: section fixes re netns
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 10 Feb 2009 02:05:16 +0000 (18:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Feb 2009 02:05:16 +0000 (18:05 -0800)
PPP is modular code so no initdata on netns hooks.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
drivers/net/pppoe.c
drivers/net/pppol2tp.c

index 4405a76ed3da197344955924ad3a3e7eef10e11e..fddc8493f35c11fd9b3afdd932e0ae6ceb651289 100644 (file)
@@ -901,7 +901,7 @@ static __net_exit void ppp_exit_net(struct net *net)
        kfree(pn);
 }
 
-static __net_initdata struct pernet_operations ppp_net_ops = {
+static struct pernet_operations ppp_net_ops = {
        .init = ppp_init_net,
        .exit = ppp_exit_net,
 };
index 1011fd64108b1718500bfc3121545feb8bef59d7..af6321d97574442d2fee872946ef90d749049d65 100644 (file)
@@ -1175,7 +1175,7 @@ static __net_exit void pppoe_exit_net(struct net *net)
        kfree(pn);
 }
 
-static __net_initdata struct pernet_operations pppoe_net_ops = {
+static struct pernet_operations pppoe_net_ops = {
        .init = pppoe_init_net,
        .exit = pppoe_exit_net,
 };
index 15f4a43a68901d945d0f3345f9cdf1b274630eeb..1ba0f6864ac4750166e0e297f529f7396f5b1337 100644 (file)
@@ -2647,7 +2647,7 @@ static __net_exit void pppol2tp_exit_net(struct net *net)
        kfree(pn);
 }
 
-static __net_initdata struct pernet_operations pppol2tp_net_ops = {
+static struct pernet_operations pppol2tp_net_ops = {
        .init = pppol2tp_init_net,
        .exit = pppol2tp_exit_net,
 };