diff options
| author | Paolo Abeni <[email protected]> | 2024-02-08 18:03:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-12 10:08:12 +0000 |
| commit | bdd70eb68913c960acb895b00a8c62eb64715b1f (patch) | |
| tree | ed426e596d2325aeac12427defcdd0638af8397f /net/unix/garbage.c | |
| parent | Merge branch 'net-misplaced-fields' (diff) | |
| download | kernel-bdd70eb68913c960acb895b00a8c62eb64715b1f.tar.gz kernel-bdd70eb68913c960acb895b00a8c62eb64715b1f.zip | |
mptcp: drop the push_pending field
Such field is there to avoid acquiring the data lock in a few spots,
but it adds complexity to the already non trivial locking schema.
All the relevant call sites (mptcp-level re-injection, set socket
options), are slow-path, drop such field in favor of 'cb_flags', adding
the relevant locking.
This patch could be seen as an improvement, instead of a fix. But it
simplifies the next patch. The 'Fixes' tag has been added to help having
this series backported to stable.
Fixes: e9d09baca676 ("mptcp: avoid atomic bit manipulation when possible")
Cc: [email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
