projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0833b
)
ipv6: Fix 'release_it' logic in tcp_v6_get_peer()
author
David S. Miller
<davem@davemloft.net>
Fri, 10 Dec 2010 21:16:09 +0000
(13:16 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 10 Dec 2010 21:16:09 +0000
(13:16 -0800)
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>
net/ipv6/tcp_ipv6.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/tcp_ipv6.c
b/net/ipv6/tcp_ipv6.c
index 319458558df90863635648a76680f63bc1790933..fee0768916462a8d6ee7688376c31b61cf347461 100644
(file)
--- 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)
if (!rt->rt6i_peer)
rt6_bind_peer(rt, 1);
peer = rt->rt6i_peer;
- *release_it =
tru
e;
+ *release_it =
fals
e;
}
return peer;