Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133875
b: refs/heads/master
c: f5882c3
h: refs/heads/master
i:
  133873: 8628f26
  133871: 14e1352
v: v3
  • Loading branch information
Cyrill Gorcunov authored and David S. Miller committed Jan 21, 2009
1 parent 11f5007 commit 8864728
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 273ec51dd7ceaa76e038875d85061ec856d8905e
refs/heads/master: f5882c30508c1e3c4fbbdaa9ca08d0922c5fb071
2 changes: 1 addition & 1 deletion trunk/drivers/net/pppoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ static int pppoe_connect(struct socket *sock, struct sockaddr *uservaddr,
po->chan.private = sk;
po->chan.ops = &pppoe_chan_ops;

error = ppp_register_channel(&po->chan);
error = ppp_register_net_channel(dev_net(dev), &po->chan);
if (error)
goto err_put;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/pppol2tp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ static int pppol2tp_connect(struct socket *sock, struct sockaddr *uservaddr,
po->chan.ops = &pppol2tp_chan_ops;
po->chan.mtu = session->mtu;

error = ppp_register_channel(&po->chan);
error = ppp_register_net_channel(sock_net(sk), &po->chan);
if (error)
goto end_put_tun;

Expand Down

0 comments on commit 8864728

Please sign in to comment.