mptcp: Return EPIPE if sending is shut down during a sendmsg
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 28 Jul 2020 22:12:00 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2020 00:02:41 +0000 (17:02 -0700)
commit57baaf2875404b555587391608da1625863086fa
treec3e53379430b46a00916652aabd22bee8fd78e04
parent0bac966a1f2ae0e3cbc259c5bb10aab7bbcf8f4b
mptcp: Return EPIPE if sending is shut down during a sendmsg

A MPTCP socket where sending has been shut down should not attempt to
send additional data, since DATA_FIN has already been sent.

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