mptcp: fix data races on remote_id
authorPaolo Abeni <pabeni@redhat.com>
Thu, 15 Feb 2024 18:25:32 +0000 (19:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Feb 2024 10:25:00 +0000 (10:25 +0000)
commit967d3c27127e71a10ff5c083583a038606431b61
tree540b50dbb071d2879acee6aa12eb16a6ad5d07ac
parenta7cfe776637004a4c938fde78be4bd608c32c3ef
mptcp: fix data races on remote_id

Similar to the previous patch, address the data race on
remote_id, adding the suitable ONCE annotations.

Fixes: bedee0b56113 ("mptcp: address lookup improvements")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c
net/mptcp/subflow.c