Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2307220rdb; Wed, 21 Feb 2024 03:48:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUqVtKWzgL7Xc/qMSNBzP2vObfzO9PH+MiaQzX7pyliUOuWl+R9qNO8wGG2MLoUbYHhdYbTvDdmf2Zz/BqgsUi/L25HgxANZM0qkvXJdw== X-Google-Smtp-Source: AGHT+IFKxxF4oFc9Zcez8ycEZ8GIJXpkgfk+TahYNuRY3JVzBl7X1f5vWrQEjd2e2gupaDSG6AZn X-Received: by 2002:a05:6808:13d4:b0:3c1:54eb:ff0a with SMTP id d20-20020a05680813d400b003c154ebff0amr11913361oiw.7.1708516080352; Wed, 21 Feb 2024 03:48:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708516080; cv=pass; d=google.com; s=arc-20160816; b=I/yjk/2G4Iv3zi0jW6h4+cY/ESem+bXbyA5EDrRGRZxdg3VbN1f5eXDNXddqLt0zsF OwMI0o9+9pnBBmml8nuZ5jy1mEqRFCFfPpbYVzq9brimGDC/TamZbm09OtD3uo96hxZU 2Oo8tVtwbRMrqFx8k7v0Mn7bft5HcGOMrCTpW8yZ7MU8lByXuxgiHigtrHWFJB8P3nr8 3rIjATDEnHCDLCb96T17IyM0zgAbUSolftf+kW48SP+8fQ5kBGkw6+oXNFl+kwHifd5C MLRmH1WBEGuGpiHd2P1OAnun3sDRypdpaqOpa5xmrdtj8UbqjSichAOls3mS3IZAYrfe JCdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vde4xB/Zz/mmmOpaSceLQiqhYFS5iO9FC1cBFRBuQi8=; fh=MYHXzar7w1hPf925vYrj3hGec834wBpGuM6Y64Awupo=; b=xfS0uy4eCoyQ6WS3Cvyg7ULCbV2kfZl4V28mETrpiJJmeg2fiKJ020K9BIcQ+I8lJZ rNLtqfEOGt2N/beo/LZ6mrOUS9h4MFtOHdFVZ42RvgZQPUBz0M2pQZhNs8vGPxzCegD5 DbHhluhglTZ3nIWOhdmp4UHeRZKjozdj2akao2ZeJXCfi5+0Su+CrYHVT6McGS7GCXHy Z9gN1d5jmlPx2mrMv4LvdrdWXEGlNOkVwz61g3769x5kGEJHsbND6VT+Ow5KF1SVxi6q gGlfmJHGWGuXrPN2VgxboK1lZ5L+vwYiXgL3WAspUPnIkOq1iK5tdFKmQu14rRyV2o7+ mpDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XLVgCBmn; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-74659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p2-20020ac84602000000b0042e3236ee6dsi1998977qtn.746.2024.02.21.03.48.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 03:48:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XLVgCBmn; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-74659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1D7CD1C21C1D for ; Wed, 21 Feb 2024 11:48:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DB9D481B4; Wed, 21 Feb 2024 11:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XLVgCBmn" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D769947A7C for ; Wed, 21 Feb 2024 11:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708516063; cv=none; b=SqG2ileM43eTKWnCA5BZZ9u5fANzSpgH+EcD3l3XJl7JS+yu4W2M3rNmQl5v8aGS+a14smlYFpNkYiqKs++L57qI6ppAAFQVXGMboTtLGH1UD0jojcfNhPx29S1EqvnyUNGRY3NH8N5rb8lB59MWyrfA81x0JfKMF+F7oMAXUGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708516063; c=relaxed/simple; bh=H1opzQmLRRKn1Vlye2CjzNT5GlCrigionNIZr2eecsY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JB7GKvmY/IqVIFF5ST9G6Py0XYtD+ML3/BP49iJi4EaufZr8lZf3cRF0pzcWCJRlKlSKpKz9af5uQ1OaoUc/ZZLTqJ9KcACSKL8BcnS9eUzf7VwPkAp9sXggxOPffC+Runq5NX4Jlah038ih10DKRraGByQYucWMOVP2sL7eDl4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=XLVgCBmn; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708516048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vde4xB/Zz/mmmOpaSceLQiqhYFS5iO9FC1cBFRBuQi8=; b=XLVgCBmnBm0e2LB1Ne+DthMH4d36BS+ldkKoIQWc42qOwpBeYR9IwVYonjPmjykhLxg8jo H2quseURThIEpT8hIAMzvNazjMfqkI7wi9bzMURq1Bj7b4EBFUq/l72X4CuUqth2vhuM4J FYWpQI6oYapF8zyhiavOU2AL40H9Cgc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-548-Qm-29FoOP_uxIItQjYGr5g-1; Wed, 21 Feb 2024 06:47:24 -0500 X-MC-Unique: Qm-29FoOP_uxIItQjYGr5g-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2C24C800074; Wed, 21 Feb 2024 11:47:24 +0000 (UTC) Received: from gerbillo.redhat.com (unknown [10.45.224.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id 51DAEC04254; Wed, 21 Feb 2024 11:47:22 +0000 (UTC) From: Paolo Abeni To: netdev@vger.kernel.org Cc: Matthieu Baerts , Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Shuah Khan , mptcp@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH net 0/2] mptcp: fix another deadlock issue Date: Wed, 21 Feb 2024 12:46:57 +0100 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 Eric reported and diagnosed another possible deadlock problem with the MPTCP diag code. The first patch address the issue, and the second adds self-test coverage for the relevant codepath, to get lockdep help to catch future similar issues. Paolo Abeni (2): mptcp: fix possible deadlock in subflow diag selftests: mptcp: explicitly trigger the listener diag code-path net/mptcp/diag.c | 3 +++ tools/testing/selftests/net/mptcp/diag.sh | 30 +++++++++++++++++++++++ 2 files changed, 33 insertions(+) -- 2.43.0