]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc85d2ec46ea9d4823fdfdec4ee0f7a13667a0aca
treec3e53379430b46a00916652aabd22bee8fd78e04
parent6736429cef6f2498c84bf9bc9ad6ea8e74570f06
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