diff options
author | Florian Westphal <fw@strlen.de> | 2020-08-14 16:56:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-15 00:11:37 +0300 |
commit | 35759383133f64d90eba120a0d3efe8f71241650 (patch) | |
tree | 08b0435c11e611b15290e3afdedbd9182d8b41ed /Documentation/networking/bonding.rst | |
parent | 068885434ccb20542e0d759aebbefe7a6724d85f (diff) | |
download | linux-35759383133f64d90eba120a0d3efe8f71241650.tar.xz |
mptcp: sendmsg: reset iter on error
Once we've copied data from the iterator we need to revert in case we
end up not sending any data.
This bug doesn't trigger with normal 'poll' based tests, because
we only feed a small chunk of data to kernel after poll indicated
POLLOUT. With blocking IO and large writes this triggers. Receiver
ends up with less data than it should get.
Fixes: 72511aab95c94d ("mptcp: avoid blocking in tcp_sendpages")
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/bonding.rst')
0 files changed, 0 insertions, 0 deletions