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
Raw File
smc_netns.h
/* SPDX-License-Identifier: GPL-2.0 */
/* Shared Memory Communications
 *
 * Network namespace definitions.
 *
 * Copyright IBM Corp. 2018
 */

#ifndef SMC_NETNS_H
#define SMC_NETNS_H

#include "smc_pnet.h"

extern unsigned int smc_net_id;

/* per-network namespace private data */
struct smc_net {
	struct smc_pnettable pnettable;
	struct smc_pnetids_ndev pnetids_ndev;
};
#endif
back to top