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-- 1003 bytes
Makefile -rw-r--r-- 406 bytes
client.c -rw-r--r-- 53.2 KB
error.c -rw-r--r-- 6.8 KB
mod.c -rw-r--r-- 3.8 KB
protocol.c -rw-r--r-- 13.2 KB
protocol.h -rw-r--r-- 686 bytes
trans_common.c -rw-r--r-- 882 bytes
trans_common.h -rw-r--r-- 546 bytes
trans_fd.c -rw-r--r-- 25.8 KB
trans_rdma.c -rw-r--r-- 18.6 KB
trans_virtio.c -rw-r--r-- 19.6 KB
trans_xen.c -rw-r--r-- 14.1 KB

back to top