diff options
| author | Mark Brown <broonie@kernel.org> | 2023-07-23 23:33:41 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-07-23 23:33:41 +0100 |
| commit | 0b201982fe1735dd41b35bc0a18d57a382b7da59 (patch) | |
| tree | 4208700b345863bbfdea87f64c37efb7d8a7b46f /include/linux/tcp.h | |
| parent | a90a987ebe008c941338285764e5afc0d663f54d (diff) | |
| parent | 6eaae198076080886b9e7d57f4ae06fa782f90ef (diff) | |
| download | lwn-0b201982fe1735dd41b35bc0a18d57a382b7da59.tar.gz lwn-0b201982fe1735dd41b35bc0a18d57a382b7da59.zip | |
spi: Merge up fixes from mainline
There's several things here that will really help my CI.
Diffstat (limited to 'include/linux/tcp.h')
| -rw-r--r-- | include/linux/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index b4c08ac86983..91a37c99ba66 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h @@ -513,7 +513,7 @@ static inline void fastopen_queue_tune(struct sock *sk, int backlog) struct request_sock_queue *queue = &inet_csk(sk)->icsk_accept_queue; int somaxconn = READ_ONCE(sock_net(sk)->core.sysctl_somaxconn); - queue->fastopenq.max_qlen = min_t(unsigned int, backlog, somaxconn); + WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); } static inline void tcp_move_syn(struct tcp_sock *tp, |
