diff options
| author | Paolo Abeni <[email protected]> | 2020-01-22 00:56:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-24 12:44:08 +0000 |
| commit | 7a6a6cbc3e592e339ad23e4e8ede9a3f6160bda8 (patch) | |
| tree | e3abc5eba503c0b8fbbec447fca7250f9d877b67 /net/ipv4/tcp_output.c | |
| parent | mptcp: add subflow write space signalling and mptcp_poll (diff) | |
| download | kernel-7a6a6cbc3e592e339ad23e4e8ede9a3f6160bda8.tar.gz kernel-7a6a6cbc3e592e339ad23e4e8ede9a3f6160bda8.zip | |
mptcp: recvmsg() can drain data from multiple subflows
With the previous patch in place, the msk can detect which subflow
has the current map with a simple walk, let's update the main
loop to always select the 'current' subflow. The exit conditions now
closely mirror tcp_recvmsg() to get expected timeout and signal
behavior.
Co-developed-by: Peter Krystad <[email protected]>
Signed-off-by: Peter Krystad <[email protected]>
Co-developed-by: Davide Caratti <[email protected]>
Signed-off-by: Davide Caratti <[email protected]>
Co-developed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Co-developed-by: Mat Martineau <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Co-developed-by: Florian Westphal <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Christoph Paasch <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
