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-- 642 bytes
Makefile -rw-r--r-- 255 bytes
af_smc.c -rw-r--r-- 65.1 KB
smc.h -rw-r--r-- 8.5 KB
smc_cdc.c -rw-r--r-- 13.6 KB
smc_cdc.h -rw-r--r-- 8.3 KB
smc_clc.c -rw-r--r-- 22.9 KB
smc_clc.h -rw-r--r-- 11.0 KB
smc_close.c -rw-r--r-- 12.2 KB
smc_close.h -rw-r--r-- 759 bytes
smc_core.c -rw-r--r-- 61.0 KB
smc_core.h -rw-r--r-- 15.1 KB
smc_diag.c -rw-r--r-- 7.4 KB
smc_ib.c -rw-r--r-- 22.9 KB
smc_ib.h -rw-r--r-- 3.6 KB
smc_ism.c -rw-r--r-- 13.1 KB
smc_ism.h -rw-r--r-- 1.8 KB
smc_llc.c -rw-r--r-- 53.6 KB
smc_llc.h -rw-r--r-- 3.6 KB
smc_netlink.c -rw-r--r-- 1.9 KB
smc_netlink.h -rw-r--r-- 605 bytes
smc_netns.h -rw-r--r-- 381 bytes
smc_pnet.c -rw-r--r-- 29.3 KB
smc_pnet.h -rw-r--r-- 1.7 KB
smc_rx.c -rw-r--r-- 11.6 KB
smc_rx.h -rw-r--r-- 715 bytes
smc_tx.c -rw-r--r-- 18.6 KB
smc_tx.h -rw-r--r-- 1.1 KB
smc_wr.c -rw-r--r-- 20.0 KB
smc_wr.h -rw-r--r-- 3.5 KB

back to top