This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts
While reading sysctl_tcp_thin_linear_timeouts, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. This is similar to commit 7c6f2a86ca59 ("tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts."), recently backported to stable kernels. Fixes: 8de2ed1 ("Bug#85 - meta-retransmit timeouts") Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit 57d2ce6) Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit 20091e9) Signed-off-by: Matthieu Baerts <[email protected]>
- Loading branch information