Skip to content

Commit

Permalink
ppp: section fixes re netns
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Feb 10, 2009
1 parent aa6320d commit 0012985
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/pppoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/pppol2tp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 0012985

Please sign in to comment.