]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: annotate lockless access for token
authorPaolo Abeni <pabeni@redhat.com>
Fri, 2 Feb 2024 11:40:10 +0000 (12:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Feb 2024 11:18:09 +0000 (11:18 +0000)
commitb9f4554356f60c6ab33ef6604d1aa94475449b1f
treeeaeffc015cd4e643ae0aa19b5efa72d6f6d3443e
parent9426ce476a705d13eb086d4be7c817856417816f
mptcp: annotate lockless access for token

The token field is manipulated under the msk socket lock
and accessed lockless in a few spots, add proper ONCE annotation

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.c
net/mptcp/pm_netlink.c
net/mptcp/protocol.c