commit | 457de4383ec6144df7d5a82cdfb110c825305a51 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Fri Dec 10 13:16:09 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 10 13:16:09 2010 -0800 |
tree | 386f0cd0c960765284362d59499a225dae21530e | |
parent | 4c0833bcd4d302fe783b9f8286a00ca2999d6200 [diff] |
ipv6: Fix 'release_it' logic in tcp_v6_get_peer() We accidently set it to "true" for the case where we are using a route bound peer. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 3194585..fee0768 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c
@@ -1877,7 +1877,7 @@ if (!rt->rt6i_peer) rt6_bind_peer(rt, 1); peer = rt->rt6i_peer; - *release_it = true; + *release_it = false; } return peer;