提交 0012985d 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

ppp: section fixes re netns

PPP is modular code so no initdata on netns hooks.
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 aa6320d3
...@@ -901,7 +901,7 @@ static __net_exit void ppp_exit_net(struct net *net) ...@@ -901,7 +901,7 @@ static __net_exit void ppp_exit_net(struct net *net)
kfree(pn); kfree(pn);
} }
static __net_initdata struct pernet_operations ppp_net_ops = { static struct pernet_operations ppp_net_ops = {
.init = ppp_init_net, .init = ppp_init_net,
.exit = ppp_exit_net, .exit = ppp_exit_net,
}; };
......
...@@ -1175,7 +1175,7 @@ static __net_exit void pppoe_exit_net(struct net *net) ...@@ -1175,7 +1175,7 @@ static __net_exit void pppoe_exit_net(struct net *net)
kfree(pn); kfree(pn);
} }
static __net_initdata struct pernet_operations pppoe_net_ops = { static struct pernet_operations pppoe_net_ops = {
.init = pppoe_init_net, .init = pppoe_init_net,
.exit = pppoe_exit_net, .exit = pppoe_exit_net,
}; };
......
...@@ -2647,7 +2647,7 @@ static __net_exit void pppol2tp_exit_net(struct net *net) ...@@ -2647,7 +2647,7 @@ static __net_exit void pppol2tp_exit_net(struct net *net)
kfree(pn); kfree(pn);
} }
static __net_initdata struct pernet_operations pppol2tp_net_ops = { static struct pernet_operations pppol2tp_net_ops = {
.init = pppol2tp_init_net, .init = pppol2tp_init_net,
.exit = pppol2tp_exit_net, .exit = pppol2tp_exit_net,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册