mbox series

[net-next,0/3] mptcp: Improve DATA_FIN transmission

Message ID 20200228234741.57086-1-mathew.j.martineau@linux.intel.com
Headers show
Series mptcp: Improve DATA_FIN transmission | expand

Message

Mat Martineau Feb. 28, 2020, 11:47 p.m. UTC
MPTCP's DATA_FIN flag is sent in a DSS option when closing the
MPTCP-level connection. This patch series prepares for correct DATA_FIN
handling across multiple subflows (where individual subflows may
disconnect without closing the entire MPTCP connection) by changing the
way the MPTCP-level socket requests a DATA_FIN on a subflow and
propagates the necessary data for the TCP option.


Mat Martineau (3):
  mptcp: Check connection state before attempting send
  mptcp: Use per-subflow storage for DATA_FIN sequence number
  mptcp: Only send DATA_FIN with final mapping

 net/mptcp/options.c  | 16 ++++++++--------
 net/mptcp/protocol.c | 32 +++++++++++++++++++++++++++-----
 net/mptcp/protocol.h |  2 ++
 3 files changed, 37 insertions(+), 13 deletions(-)


base-commit: e955376277839db92774ec24d559ab42442b95fc

Comments

David Miller March 4, 2020, 1:01 a.m. UTC | #1
From: Mat Martineau <mathew.j.martineau@linux.intel.com>
Date: Fri, 28 Feb 2020 15:47:38 -0800

> MPTCP's DATA_FIN flag is sent in a DSS option when closing the
> MPTCP-level connection. This patch series prepares for correct DATA_FIN
> handling across multiple subflows (where individual subflows may
> disconnect without closing the entire MPTCP connection) by changing the
> way the MPTCP-level socket requests a DATA_FIN on a subflow and
> propagates the necessary data for the TCP option.

Series applied, thanks Mat.