aboutsummaryrefslogtreecommitdiff
path: root/net/mptcp
diff options
context:
space:
mode:
authorGravatar Mat Martineau <mathew.j.martineau@linux.intel.com> 2020-07-28 15:12:01 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2020-07-28 17:02:41 -0700
commit242e63f651e94da5fa3cbe6ae0a62dd219226418 (patch)
treee89b974bc2377bb83beda266eac0ad390882a5bc /net/mptcp
parentmptcp: Return EPIPE if sending is shut down during a sendmsg (diff)
downloadlinux-242e63f651e94da5fa3cbe6ae0a62dd219226418.tar.gz
linux-242e63f651e94da5fa3cbe6ae0a62dd219226418.tar.bz2
linux-242e63f651e94da5fa3cbe6ae0a62dd219226418.zip
mptcp: Remove outdated and incorrect comment
mptcp_close() acquires the msk lock, so it clearly should not be held before the function is called. Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp')
-rw-r--r--net/mptcp/protocol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c
index b3c3dbc89b3f..7d7e0fa17219 100644
--- a/net/mptcp/protocol.c
+++ b/net/mptcp/protocol.c
@@ -1421,7 +1421,6 @@ static void mptcp_subflow_shutdown(struct sock *ssk, int how,
release_sock(ssk);
}
-/* Called with msk lock held, releases such lock before returning */
static void mptcp_close(struct sock *sk, long timeout)
{
struct mptcp_subflow_context *subflow, *tmp;