diff options
author | 2020-07-28 15:12:01 -0700 | |
---|---|---|
committer | 2020-07-28 17:02:41 -0700 | |
commit | 242e63f651e94da5fa3cbe6ae0a62dd219226418 (patch) | |
tree | e89b974bc2377bb83beda266eac0ad390882a5bc /net/mptcp | |
parent | mptcp: Return EPIPE if sending is shut down during a sendmsg (diff) | |
download | linux-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.c | 1 |
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; |