summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2020-09-14 11:01:07 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-14 23:28:02 +0300
commit63561a403c7c89d59205401db14fb444c6535cef (patch)
treef0cabc37a55b26c56856445fb1645c82dc44cce8 /include/linux/fpga/fpga-bridge.h
parent26cdb8f72a952ef247dfb1d507eadfe0ec8277ae (diff)
downloadlinux-63561a403c7c89d59205401db14fb444c6535cef.tar.xz
mptcp: rethink 'is writable' conditional
Currently, when checking for the 'msk is writable' condition, we look at the individual subflows write space. That works well while we send data via a single subflow, but will not as soon as we will enable concurrent xmit on multiple subflows. With this change msk becomes writable when the following conditions hold: - the socket has some free write space - there is at least a subflow with write free space Additionally we need to set the NOSPACE bit on all subflows before blocking. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions