projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b193722
)
tcp: remove unnecessary assignment.
author
Li RongQing
<roy.qing.li@gmail.com>
Mon, 29 Sep 2014 07:04:37 +0000
(15:04 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 29 Sep 2014 16:31:12 +0000
(12:31 -0400)
This variable i is overwritten to 0 by following code
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_fastopen.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_fastopen.c
b/net/ipv4/tcp_fastopen.c
index 9771563ab564923e325f5eb5341d7e6ae81a499a..815c85e3b1e06483829d596dc2c4b4a1a9cc5e44 100644
(file)
--- a/
net/ipv4/tcp_fastopen.c
+++ b/
net/ipv4/tcp_fastopen.c
@@
-115,7
+115,7
@@
static bool tcp_fastopen_cookie_gen(struct request_sock *req,
if (__tcp_fastopen_cookie_gen(&ip6h->saddr, &tmp)) {
struct in6_addr *buf = (struct in6_addr *) tmp.val;
- int i
= 4
;
+ int i;
for (i = 0; i < 4; i++)
buf->s6_addr32[i] ^= ip6h->daddr.s6_addr32[i];