summaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-19 00:32:03 +0200
committerDavid S. Miller <davem@davemloft.net>2011-05-19 00:32:03 +0200
commit6bd023f3dddfc7c5f660089598c10e1f4167083b (patch)
tree925a7a31d3db434cfda8679cb46e466697ef8bdd /net/dccp/ipv4.c
parentipv4: Kill RT_CACHE_DEBUG (diff)
downloadlinux-6bd023f3dddfc7c5f660089598c10e1f4167083b.tar.xz
linux-6bd023f3dddfc7c5f660089598c10e1f4167083b.zip
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,
int err = -1;
struct sk_buff *skb;
struct dst_entry *dst;
+ struct flowi4 fl4;
- dst = inet_csk_route_req(sk, req);
+ dst = inet_csk_route_req(sk, &fl4, req);
if (dst == NULL)
goto out;