| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * NET Generic infrastructure for Network protocols. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Authors: Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * From code originally in include/net/tcp.h |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License |
|---|
| 10 | | - * as published by the Free Software Foundation; either version |
|---|
| 11 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 100 | 96 | |
|---|
| 101 | 97 | fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; |
|---|
| 102 | 98 | |
|---|
| 103 | | - tcp_sk(sk)->fastopen_rsk = NULL; |
|---|
| 99 | + RCU_INIT_POINTER(tcp_sk(sk)->fastopen_rsk, NULL); |
|---|
| 104 | 100 | spin_lock_bh(&fastopenq->lock); |
|---|
| 105 | 101 | fastopenq->qlen--; |
|---|
| 106 | 102 | tcp_rsk(req)->tfo_listener = false; |
|---|