diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 1d290acdcb27..3c8d9b6f1ea4 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1781,7 +1781,7 @@ struct inet_peer *tcp_v4_get_peer(struct sock *sk, bool *release_it) | |||
1781 | *release_it = true; | 1781 | *release_it = true; |
1782 | } else { | 1782 | } else { |
1783 | if (!rt->peer) | 1783 | if (!rt->peer) |
1784 | rt_bind_peer(rt, 1); | 1784 | rt_bind_peer(rt, inet->inet_daddr, 1); |
1785 | peer = rt->peer; | 1785 | peer = rt->peer; |
1786 | *release_it = false; | 1786 | *release_it = false; |
1787 | } | 1787 | } |