aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 319458558df9..fee076891646 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1877,7 +1877,7 @@ static struct inet_peer *tcp_v6_get_peer(struct sock *sk, bool *release_it)
1877 if (!rt->rt6i_peer) 1877 if (!rt->rt6i_peer)
1878 rt6_bind_peer(rt, 1); 1878 rt6_bind_peer(rt, 1);
1879 peer = rt->rt6i_peer; 1879 peer = rt->rt6i_peer;
1880 *release_it = true; 1880 *release_it = false;
1881 } 1881 }
1882 1882
1883 return peer; 1883 return peer;