Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321571
b: refs/heads/master
c: 08252b3
h: refs/heads/master
i:
  321569: 0182d77
  321567: cdbc1ad
v: v3
  • Loading branch information
Gao feng authored and David S. Miller committed Aug 8, 2012
1 parent 3d316dd commit d9e45c1
Show file tree
Hide file tree
Showing 2 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: d933d2beb1e416f62bf56fe002e5451414f9a9d2
refs/heads/master: 08252b32311c3fa84219ad794d640af7399b5485
4 changes: 2 additions & 2 deletions trunk/drivers/net/ppp/pptp.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb)
if (sk_pppox(po)->sk_state & PPPOX_DEAD)
goto tx_error;

rt = ip_route_output_ports(&init_net, &fl4, NULL,
rt = ip_route_output_ports(sock_net(sk), &fl4, NULL,
opt->dst_addr.sin_addr.s_addr,
opt->src_addr.sin_addr.s_addr,
0, 0, IPPROTO_GRE,
Expand Down Expand Up @@ -468,7 +468,7 @@ static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr,
po->chan.private = sk;
po->chan.ops = &pptp_chan_ops;

rt = ip_route_output_ports(&init_net, &fl4, sk,
rt = ip_route_output_ports(sock_net(sk), &fl4, sk,
opt->dst_addr.sin_addr.s_addr,
opt->src_addr.sin_addr.s_addr,
0, 0,
Expand Down

0 comments on commit d9e45c1

Please sign in to comment.