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-- 1004 bytes
Makefile -rw-r--r-- 412 bytes
crypto.c -rw-r--r-- 2.4 KB
crypto_test.c -rw-r--r-- 1.7 KB
ctrl.c -rw-r--r-- 2.9 KB
diag.c -rw-r--r-- 3.0 KB
mib.c -rw-r--r-- 2.4 KB
mib.h -rw-r--r-- 2.0 KB
mptcp_diag.c -rw-r--r-- 4.4 KB
options.c -rw-r--r-- 33.0 KB
pm.c -rw-r--r-- 6.6 KB
pm_netlink.c -rw-r--r-- 28.7 KB
protocol.c -rw-r--r-- 85.2 KB
protocol.h -rw-r--r-- 19.1 KB
subflow.c -rw-r--r-- 39.5 KB
syncookies.c -rw-r--r-- 3.6 KB
token.c -rw-r--r-- 10.7 KB
token_test.c -rw-r--r-- 3.8 KB

back to top