Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2373263lqp; Sun, 24 Mar 2024 16:25:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVbIg6B+0yOoUyj4KUZtWKRX1OLWFoYI89EB8u+lvdhjnO3k32Bw4hvk/LX/1YbytRJw7FgGe5zuZgU3nDwW6hx9PKAV+B7pVKZ/nYOg== X-Google-Smtp-Source: AGHT+IF9KaiZ4JaCJ8Eq6G0CDBxiePYEblwJ1C7+y6qOSRVzkMvBMOS+o10XoDzM3wyH/oqvoaoz X-Received: by 2002:a17:903:24b:b0:1e0:384:ecb9 with SMTP id j11-20020a170903024b00b001e00384ecb9mr6989002plh.8.1711322701094; Sun, 24 Mar 2024 16:25:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711322701; cv=pass; d=google.com; s=arc-20160816; b=F+xHFhJny5Ed+touhxnBOy4cV1R8josuEYkbetzywQbrXjTZSpE1OnJc7hfi4hFJMX rnDIwMpl4mi4cvo3HZlE8JImI4ZfEjWhr4vXQbGjFgy2+ulB93/lfAsYmiqthPrEZ2Q9 qmeZJeiWrfZXrsEYNzD/tvyrDk52lh1WcnTTi8mTMLjmbsDTjn3woZHMSkMoKBA9N9Xs eCZdhjYQCLNb58VT0MjLWtsLDcP2yVzQnOYeQNO6w4prZ6bk2vR28KUFuRuUIfSMzYX+ Depngklp89IjV6wLiYpQCpDE3v9E+fnYdcj/ADenBtbskPptZDj4DsERz7Ce12WnmW1/ zfcg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xNLE+7KzVRD4KymLhhE0sP1hsp27btbEx3JoR+q+q3s=; fh=MSdSnEpNIwP7G+aTW0sIv6Jo3kSNIahatCp0eDJTkY4=; b=GID+k/vOXDfgtMxz72Awu2FZzpYTrG8i8kUqZT7s2UY6/0UFtdayd+cMoyxgLNJt/S WbBZr4yvmow2cgsFLZ4AToaXKgmUJ1tkRn8a72YklHpqTeyYRABwdHnbJv4nFmF9n+I7 51YznL/etJvh3w+a5bApgP+IHyeF+sM4yqx7DBded6Qjgtu4bBbB2BKR6+sQNjaMcYsG hN+cKyUHPGMUkEh8MhxJM+6JajFVYlG11VA4S5uEro18dkT90imorYvMrZoor6W0hC7d XCR9lLyoApS3sE4h9jOldk6U4pXZHa+LqKNukkB49RrPI12tY7JKegJKE8JogNkxsUU0 0+zQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eAbPLGle; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n14-20020a170903110e00b001e023d19dcfsi4049894plh.5.2024.03.24.16.25.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eAbPLGle; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1EC9E281A14 for ; Sun, 24 Mar 2024 23:15:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A33D149DEF; Sun, 24 Mar 2024 22:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eAbPLGle" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B4991149016; Sun, 24 Mar 2024 22:37:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319876; cv=none; b=F6uabqV88RCW3vy89hBl9+PT4qIfLJJTJHqbfslzipoDwRNREsd4t8w1gztxV8PyWy/QV/FsBAyQjVUN7U50hLe5QrLvCgDim00xu1AKn5hQ2ihPPOraZ26HreLefyHalPs+zdzJ1Pf+1KJ95sOras1rc/L+XplCe8F8JI+C8TQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319876; c=relaxed/simple; bh=ATExb8dnzR1+3OF1sfOlEjOUy1xTMLsnkXvdaxfAZEA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jV6D+vY7BRosyO6BguGGfRwk/p7ROlUSwEXQqtLmN2AqD0FnbZzUPtoJRUnHo6pXLiGR1YA0Uoxxz5xxgcMgQ7yg0ZMiY9+vZlpZXHI2NO+OtMbFzVAaKY49LRSJa+r36+EMLgfbnx955yPwzKgWygKh/SIbV8w9pw+Iw/8oSpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eAbPLGle; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7767C43399; Sun, 24 Mar 2024 22:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319876; bh=ATExb8dnzR1+3OF1sfOlEjOUy1xTMLsnkXvdaxfAZEA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eAbPLGlejuyehHCaUA9F1MUk63O3VdhoAwqRhD4Lyysgs9SrWI/FzJ6aRKJEzDfIG szRyZjzj6vTqDolKEWUijnC25H6DXgO1W5UnSCCtDDp3ISsrwjrQ0V+PpEMKvtdtub 2KQtKGv3v0CXu/6fP7QhZ4em5F4qF1uClp0ajFWfzAUqDnPHXmNzJifEdbigTGexs3 X8ruDmQWra17DPP6y31e8fKxBFCnSkMSyotWltqoIQwolQpEB15a9iOoc7rbQ6Ms1B /kwYnGAw0LHy5vzr3vsPGpCt6uZnsPM7OWgp0lMKKeoiAbsAlo4J+KPLk9mifr60Uc EZbGPZJj71DHA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Eric Dumazet , Taehee Yoo , Cong Wang , David Ahern , "David S . Miller" , Sasha Levin Subject: [PATCH 6.8 181/715] ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down() Date: Sun, 24 Mar 2024 18:26:00 -0400 Message-ID: <20240324223455.1342824-182-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Eric Dumazet [ Upstream commit 17ef8efc00b34918b966388b2af0993811895a8c ] As discussed in the past (commit 2d3916f31891 ("ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()")) I think the synchronize_net() call in ipv6_mc_down() is not needed. Under load, synchronize_net() can last between 200 usec and 5 ms. KASAN seems to agree as well. Fixes: f185de28d9ae ("mld: add new workqueues for process mld events") Signed-off-by: Eric Dumazet Cc: Taehee Yoo Cc: Cong Wang Cc: David Ahern Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/ipv6/mcast.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index bc6e0a0bad3c1..76ee1615ff2a0 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -2719,7 +2719,6 @@ void ipv6_mc_down(struct inet6_dev *idev) /* Should stop work after group drop. or we will * start work again in mld_ifc_event() */ - synchronize_net(); mld_query_stop_work(idev); mld_report_stop_work(idev); -- 2.43.0