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:
f1c0a27
)
tcp: Use cork flow info instead of rt->rt_dst in tcp_v4_get_peer()
author
David S. Miller
<davem@davemloft.net>
Sat, 7 May 2011 05:36:30 +0000
(22:36 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 8 May 2011 22:28:29 +0000
(15:28 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_ipv4.c
b/net/ipv4/tcp_ipv4.c
index 374de3c98d5e3900d77f8e9a60dd9f1bd25cb640..2b655031b3923f14cb66e793ef026c24e113d577 100644
(file)
--- a/
net/ipv4/tcp_ipv4.c
+++ b/
net/ipv4/tcp_ipv4.c
@@
-1773,7
+1773,8
@@
struct inet_peer *tcp_v4_get_peer(struct sock *sk, bool *release_it)
struct inet_sock *inet = inet_sk(sk);
struct inet_peer *peer;
- if (!rt || rt->rt_dst != inet->inet_daddr) {
+ if (!rt ||
+ inet->cork.fl.u.ip4.daddr != inet->inet_daddr) {
peer = inet_getpeer_v4(inet->inet_daddr, 1);
*release_it = true;
} else {