Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0012985d authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller
Browse files

ppp: section fixes re netns



PPP is modular code so no initdata on netns hooks.

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa6320d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};
+1 −1
Original line number Diff line number Diff line
@@ -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,
};
+1 −1
Original line number Diff line number Diff line
@@ -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,
};