diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-02-01 15:09:06 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-02 18:37:18 -0800 |
commit | 72603d207d595a1a70ba75ec885a5e02a6d802a8 (patch) | |
tree | 8bf0c331d19082c1b5b6fcf184eb320ba3f2d90f /net/mptcp/protocol.h | |
parent | e6d6ca6e12049dfbff6ac8b029678d2d2c55c34f (diff) |
mptcp: use WRITE_ONCE for the pernet *_max
This patch uses WRITE_ONCE() for all the pernet add_addr_signal_max,
add_addr_accept_max, local_addr_max and subflows_max fields in struct
pm_nl_pernet to avoid concurrency issues.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/protocol.h')
0 files changed, 0 insertions, 0 deletions