diff options
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | 2020-07-29 00:12:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-29 02:02:41 +0200 |
commit | 242e63f651e94da5fa3cbe6ae0a62dd219226418 (patch) | |
tree | e89b974bc2377bb83beda266eac0ad390882a5bc /net | |
parent | mptcp: Return EPIPE if sending is shut down during a sendmsg (diff) | |
download | linux-242e63f651e94da5fa3cbe6ae0a62dd219226418.tar.xz 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')
-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; |