diff options
| author | Paolo Abeni <[email protected]> | 2024-12-30 18:12:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-03 02:44:03 +0000 |
| commit | 551844f26da2a9f76c0a698baaffa631d1178645 (patch) | |
| tree | 3077e1393ba2f7d3ce48590133e90e69aa366d3f /drivers/fpga/fpga-region.c | |
| parent | mptcp: fix recvbuffer adjust on sleeping rcvmsg (diff) | |
| download | kernel-551844f26da2a9f76c0a698baaffa631d1178645.tar.gz kernel-551844f26da2a9f76c0a698baaffa631d1178645.zip | |
mptcp: don't always assume copied data in mptcp_cleanup_rbuf()
Under some corner cases the MPTCP protocol can end-up invoking
mptcp_cleanup_rbuf() when no data has been copied, but such helper
assumes the opposite condition.
Explicitly drop such assumption and performs the costly call only
when strictly needed - before releasing the msk socket lock.
Fixes: fd8976790a6c ("mptcp: be careful on MPTCP-level ack.")
Cc: [email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
