projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57baaf2
)
mptcp: Remove outdated and incorrect comment
author
Mat Martineau
<mathew.j.martineau@linux.intel.com>
Tue, 28 Jul 2020 22:12:01 +0000
(15:12 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 29 Jul 2020 00:02:41 +0000
(17:02 -0700)
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>
net/mptcp/protocol.c
patch
|
blob
|
history
diff --git
a/net/mptcp/protocol.c
b/net/mptcp/protocol.c
index
b3c3dbc
..
7d7e0fa
100644
(file)
--- 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;