commit | a48eff128865aa20520fa6e0e0c5fbd2ac50d712 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed May 18 18:42:43 2011 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed May 18 18:42:43 2011 -0400 |
tree | c60e376c3fca23bb215c977e42661187076dccbf | |
parent | ed2361e66eec60645f8e4715fe39a42235ef43ae [diff] [blame] |
ipv4: Pass explicit destination address to rt_bind_peer(). Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 1d290ac..3c8d9b6 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c
@@ -1781,7 +1781,7 @@ *release_it = true; } else { if (!rt->peer) - rt_bind_peer(rt, 1); + rt_bind_peer(rt, inet->inet_daddr, 1); peer = rt->peer; *release_it = false; }