Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
net
/
ipv4
/
tcp_fastopen.c
diff --git
a/kernel/net/ipv4/tcp_fastopen.c
b/kernel/net/ipv4/tcp_fastopen.c
index
55be6ac
..
fca6182
100644
(file)
--- a/
kernel/net/ipv4/tcp_fastopen.c
+++ b/
kernel/net/ipv4/tcp_fastopen.c
@@
-112,7
+112,7
@@
static bool tcp_fastopen_cookie_gen(struct request_sock *req,
struct tcp_fastopen_cookie tmp;
if (__tcp_fastopen_cookie_gen(&ip6h->saddr, &tmp)) {
struct tcp_fastopen_cookie tmp;
if (__tcp_fastopen_cookie_gen(&ip6h->saddr, &tmp)) {
- struct in6_addr *buf =
(struct in6_addr *) tmp.val
;
+ struct in6_addr *buf =
&tmp.addr
;
int i;
for (i = 0; i < 4; i++)
int i;
for (i = 0; i < 4; i++)
@@
-161,6
+161,7
@@
static struct sock *tcp_fastopen_create_child(struct sock *sk,
* scaled. So correct it appropriately.
*/
tp->snd_wnd = ntohs(tcp_hdr(skb)->window);
* scaled. So correct it appropriately.
*/
tp->snd_wnd = ntohs(tcp_hdr(skb)->window);
+ tp->max_window = tp->snd_wnd;
/* Activate the retrans timer so that SYNACK can be retransmitted.
* The request socket is not added to the ehash
/* Activate the retrans timer so that SYNACK can be retransmitted.
* The request socket is not added to the ehash