aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-18 18:32:03 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-18 18:32:03 -0400
commit6bd023f3dddfc7c5f660089598c10e1f4167083b (patch)
tree925a7a31d3db434cfda8679cb46e466697ef8bdd /net/dccp/ipv4.c
parent6882f933ccee5c3a86443ffc7621ce888b93ab6b (diff)
ipv4: Make caller provide flowi4 key to inet_csk_route_req().
This way the caller can get at the fully resolved fl4->{daddr,saddr} etc. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 46b15e9e9b57..8c36adfd1919 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -497,8 +497,9 @@ static int dccp_v4_send_response(struct sock *sk, struct request_sock *req,
497 int err = -1; 497 int err = -1;
498 struct sk_buff *skb; 498 struct sk_buff *skb;
499 struct dst_entry *dst; 499 struct dst_entry *dst;
500 struct flowi4 fl4;
500 501
501 dst = inet_csk_route_req(sk, req); 502 dst = inet_csk_route_req(sk, &fl4, req);
502 if (dst == NULL) 503 if (dst == NULL)
503 goto out; 504 goto out;
504 505