Skip to content

Commit 242e63f

Browse files
mjmartineaudavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 57baaf2 commit 242e63f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/mptcp/protocol.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,6 @@ static void mptcp_subflow_shutdown(struct sock *ssk, int how,
14211421
release_sock(ssk);
14221422
}
14231423

1424-
/* Called with msk lock held, releases such lock before returning */
14251424
static void mptcp_close(struct sock *sk, long timeout)
14261425
{
14271426
struct mptcp_subflow_context *subflow, *tmp;

0 commit comments

Comments
 (0)