Revision 13a9499e833387fcc7a53915bbe5cddf3c336b59 authored by Paolo Abeni on 14 January 2021, 15:37:37 UTC, committed by Jakub Kicinski on 14 January 2021, 19:25:21 UTC
tcp_disconnect() expects the caller acquires the sock lock,
but mptcp_disconnect() is not doing that. Add the missing
required lock.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Fixes: 76e2a55d1625 ("mptcp: better msk-level shutdown.")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/f818e82b58a556feeb71dcccc8bf1c87aafc6175.1610638176.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 25537d7
History
File Mode Size
Kconfig -rw-r--r-- 2.2 KB
Makefile -rw-r--r-- 434 bytes
assert.c -rw-r--r-- 4.8 KB
debugfs.c -rw-r--r-- 2.7 KB
debugfs.h -rw-r--r-- 722 bytes
executor.c -rw-r--r-- 1.0 KB
kunit-example-test.c -rw-r--r-- 2.6 KB
kunit-test.c -rw-r--r-- 11.3 KB
string-stream-test.c -rw-r--r-- 1.4 KB
string-stream.c -rw-r--r-- 4.7 KB
string-stream.h -rw-r--r-- 1.2 KB
test.c -rw-r--r-- 14.8 KB
try-catch-impl.h -rw-r--r-- 628 bytes
try-catch.c -rw-r--r-- 2.8 KB

back to top