diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-09-14 11:01:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-14 23:28:02 +0300 |
commit | 6719331c2f736fba881f2ce85c8b0e37fe054c46 (patch) | |
tree | 8b9896bae435f0703599c69db26aaaaf8621f494 /include/linux/fpga/fpga-bridge.h | |
parent | 47bebdf365ade17534f6616dc228d347085f4501 (diff) | |
download | linux-6719331c2f736fba881f2ce85c8b0e37fe054c46.tar.xz |
mptcp: trigger msk processing even for OoO data
This is a prerequisite to allow receiving data from multiple
subflows without re-injection.
Instead of dropping the OoO - "future" data in
subflow_check_data_avail(), call into __mptcp_move_skbs()
and let the msk drop that.
To avoid code duplication factor out the mptcp_subflow_discard_data()
helper.
Note that __mptcp_move_skbs() can now find multiple subflows
with data avail (comprising to-be-discarded data), so must
update the byte counter incrementally.
v1 -> v2:
- fix checkpatch issues (unsigned -> unsigned int)
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