mptcp: Allow DATA_FIN in headers without TCP FIN
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 28 Jul 2020 22:11:59 +0000 (15:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2020 00:02:41 +0000 (17:02 -0700)
commit0bac966a1f2ae0e3cbc259c5bb10aab7bbcf8f4b
treecf8b507115169444c5db180599c72e6e4bb136dd
parent0003041e7a0bf24594e5d66fe217bbbefdac44ab
mptcp: Allow DATA_FIN in headers without TCP FIN

RFC 8684-compliant DATA_FIN needs to be sent and ack'd before subflows
are closed with TCP FIN, so write DATA_FIN DSS headers whenever their
transmission has been enabled by the MPTCP connection-level socket.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c