diff options
author | David S. Miller <davem@davemloft.net> | 2024-02-05 12:18:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-05 12:18:10 +0100 |
commit | c3b39ea2371b283d4faf5e69be6c41d1bf3f7957 (patch) | |
tree | e53ee1def28cd6c5dc681c6f51ee01dbaf422725 /lib | |
parent | tsnep: Add helper for RX XDP_RING_NEED_WAKEUP flag (diff) | |
parent | mptcp: annotate lockless accesses around read-mostly fields (diff) | |
download | linux-c3b39ea2371b283d4faf5e69be6c41d1bf3f7957.tar.xz linux-c3b39ea2371b283d4faf5e69be6c41d1bf3f7957.zip |
Merge branch 'mptcp-annotate-lockless'
Matthieu Baerts says:
====================
mptcp: annotate lockless access
This is a series of 5 patches from Paolo to annotate lockless access.
The MPTCP locking schema is already quite complex. We need to clarify it
and make the lockless access already there consistent, or later changes
will be even harder to follow and understand.
This series goes through all the msk fields accessed in the RX and TX
path and makes the lockless annotation consistent with the in-use
locking schema.
As a bonus, this should fix data races eventually found by fuzzers --
even if we haven't seen many such reports so far.
Patch 1/5 hints we could remove "local_key" and "remote_key" from the
subflow context, and always use the ones from the msk socket, possibly
reducing the context memory usage. That change is left over as a
possible follow-up.
====================
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions