]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: fix data races on remote_id
authorPaolo Abeni <pabeni@redhat.com>
Thu, 15 Feb 2024 18:25:32 +0000 (19:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:35:03 +0000 (13:35 +0100)
commit2dba5774e8ed326a78ad4339d921a4291281ea6e
tree1d2b3f23ea71ebfa2ba3953fc6dd1e4d4475ca01
parentba2cf922502c557cd5f2f15d3004f1a168ef3764
mptcp: fix data races on remote_id

commit 967d3c27127e71a10ff5c083583a038606431b61 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mptcp/pm_netlink.c
net/mptcp/subflow.c