From: Mat Martineau Date: Tue, 28 Jul 2020 22:12:01 +0000 (-0700) Subject: mptcp: Remove outdated and incorrect comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=242e63f651e94da5fa3cbe6ae0a62dd219226418;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index b3c3dbc89b3f9..7d7e0fa172191 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;