Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90659
b: refs/heads/master
c: f548739
h: refs/heads/master
i:
  90657: 1ff2047
  90655: ca2d980
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 14, 2008
1 parent 49a1907 commit 7fe37ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: b76c4b27fee9c88294d3152784291fc6f6d23401
refs/heads/master: f54873982c6aac9bc5c7eef62a9ce4d52b1dfc19
6 changes: 3 additions & 3 deletions trunk/net/dccp/ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ static struct sock *dccp_v4_hnd_req(struct sock *sk, struct sk_buff *skb)
return sk;
}

static struct dst_entry* dccp_v4_route_skb(struct sock *sk,
static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk,
struct sk_buff *skb)
{
struct rtable *rt;
Expand All @@ -462,7 +462,7 @@ static struct dst_entry* dccp_v4_route_skb(struct sock *sk,
};

security_skb_classify_flow(skb, &fl);
if (ip_route_output_flow(&init_net, &rt, &fl, sk, 0)) {
if (ip_route_output_flow(net, &rt, &fl, sk, 0)) {
IP_INC_STATS_BH(IPSTATS_MIB_OUTNOROUTES);
return NULL;
}
Expand Down Expand Up @@ -515,7 +515,7 @@ static void dccp_v4_ctl_send_reset(struct sock *sk, struct sk_buff *rxskb)
if (rxskb->rtable->rt_type != RTN_LOCAL)
return;

dst = dccp_v4_route_skb(ctl_sk, rxskb);
dst = dccp_v4_route_skb(net, ctl_sk, rxskb);
if (dst == NULL)
return;

Expand Down

0 comments on commit 7fe37ef

Please sign in to comment.