Skip to content

Commit

Permalink
mptcp: Remove outdated and incorrect comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mat Martineau authored and David S. Miller committed Jul 29, 2020
1 parent 57baaf2 commit 242e63f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/mptcp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 242e63f

Please sign in to comment.