diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-05-31 12:37:04 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-01 10:04:04 -0700 |
commit | 5b825727d0871b23e8867f6371183e61628b4a26 (patch) | |
tree | fe025fd4cdf1bbbbe5f889f759c00654b863d214 /net/Kconfig.debug | |
parent | 786fc12457268cc9b555dde6c22ae7300d4b40e1 (diff) |
mptcp: add annotations around msk->subflow accesses
The MPTCP can access the first subflow socket in a few spots
outside the socket lock scope. That is actually safe, as MPTCP
will delete the socket itself only after the msk sock close().
Still the such accesses causes a few KCSAN splats, as reported
by Christoph. Silence the harmless warning adding a few annotation
around the relevant accesses.
Fixes: 71ba088ce0aa ("mptcp: cleanup accept and poll")
Reported-by: Christoph Paasch <cpaasch@apple.com>
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/402
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions