Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ppp: section fixes re netns

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>

authored by

Alexey Dobriyan and committed by
David S. Miller
0012985d aa6320d3

+3 -3
+1 -1
drivers/net/ppp_generic.c
··· 901 901 kfree(pn); 902 902 } 903 903 904 - static __net_initdata struct pernet_operations ppp_net_ops = { 904 + static struct pernet_operations ppp_net_ops = { 905 905 .init = ppp_init_net, 906 906 .exit = ppp_exit_net, 907 907 };
+1 -1
drivers/net/pppoe.c
··· 1175 1175 kfree(pn); 1176 1176 } 1177 1177 1178 - static __net_initdata struct pernet_operations pppoe_net_ops = { 1178 + static struct pernet_operations pppoe_net_ops = { 1179 1179 .init = pppoe_init_net, 1180 1180 .exit = pppoe_exit_net, 1181 1181 };
+1 -1
drivers/net/pppol2tp.c
··· 2647 2647 kfree(pn); 2648 2648 } 2649 2649 2650 - static __net_initdata struct pernet_operations pppol2tp_net_ops = { 2650 + static struct pernet_operations pppol2tp_net_ops = { 2651 2651 .init = pppol2tp_init_net, 2652 2652 .exit = pppol2tp_exit_net, 2653 2653 };