]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add and use mptcp_data_ready helper
authorFlorian Westphal <fw@strlen.de>
Wed, 26 Feb 2020 09:14:46 +0000 (10:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:46:26 +0000 (20:46 -0800)
commita04a99514e5d0a0191ed9d1cda380634d2c259d4
tree2938e591ee284f9e18dd9d7d194fe39921249c98
parentc7aeec0acb9b4566c4062195522c5e420987bc10
mptcp: add and use mptcp_data_ready helper

allows us to schedule the work queue to drain the ssk receive queue in
a followup patch.

This is needed to avoid sending all-to-pessimistic mptcp-level
acknowledgements.  At this time, the ack_seq is what was last read by
userspace instead of the highest in-sequence number queued for reading.

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>
net/mptcp/protocol.c
net/mptcp/protocol.h
net/mptcp/subflow.c