Commit 242e63f6 authored by Mat Martineau's avatar Mat Martineau Committed by David S. Miller
Browse files

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: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 57baaf28
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;