diff options
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
-rw-r--r-- | net/ipv4/tcp_fastopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_fastopen.c b/net/ipv4/tcp_fastopen.c index 3fd451271a70..a915ade0c818 100644 --- a/net/ipv4/tcp_fastopen.c +++ b/net/ipv4/tcp_fastopen.c | |||
@@ -253,7 +253,7 @@ static struct sock *tcp_fastopen_create_child(struct sock *sk, | |||
253 | */ | 253 | */ |
254 | tp = tcp_sk(child); | 254 | tp = tcp_sk(child); |
255 | 255 | ||
256 | tp->fastopen_rsk = req; | 256 | rcu_assign_pointer(tp->fastopen_rsk, req); |
257 | tcp_rsk(req)->tfo_listener = true; | 257 | tcp_rsk(req)->tfo_listener = true; |
258 | 258 | ||
259 | /* RFC1323: The window in SYN & SYN/ACK segments is never | 259 | /* RFC1323: The window in SYN & SYN/ACK segments is never |