Article View: linux.kernel.netdev
Article #3711Re: [PATCH 6.1.y] xfrm: prevent policy_hthresh.work from racing with netns teardown
From: Sasha Levin
Date: Thu, 15 Oct 2026 19:35
Date: Thu, 15 Oct 2026 19:35
10 lines
5749 bytes
5749 bytes
> An XFRM_MSG_NEWSPDINFO request can queue the per-net work item > policy_hthresh.work onto the system workqueue. xfrm_hash_rebuild() > retrieves the enclosing struct net from the work item, so the callback Queued for 6.1, thanks. -- Thanks, Sasha
Technical Details
Message-ID:
<2026-10-15-1-daily-reply-0009-xfrm-policy-hthresh-6-1@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346913-linux-kernel-netdev=dewy.ruReferences:
<20261014212540.1437936-1-taherafahimi@linux.microsoft.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346913-linux-kernel-netdev=dewy.ru From: sashal@kernel.org (Sasha Levin) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 6.1.y] xfrm: prevent policy_hthresh.work from racing with netns teardown Date: Thu, 15 Oct 2026 15:35:52 -0400 Organization: Usenet Network Message-ID: <2026-10-15-1-daily-reply-0009-xfrm-policy-hthresh-6-1@kernel.org> References: <20261014212540.1437936-1-taherafahimi@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2610232"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Yqqd8P4Y6+USA9tTQfgieUz96II= sha256:jvSG/+fGGQEHWQmIkxp2CEaCdf3jksZbuG5dbuB1sIM= sha1:cVMgnwG94gP31wPnf0N1X73tMNs= sha256:gvUcyvjVML0rD76F2oQCqV/dp0QNJO0CqW/PmMnxiW0= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 157271103C0; Thu, 15 Oct 2026 23:04:43 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.34 X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hix93XMGOKcg; Thu, 15 Oct 2026 23:04:40 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346913-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id A7EF0110200; Thu, 15 Oct 2026 23:04:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 86414A65DE; Thu, 15 Oct 2026 19:37:07 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78316568FD2; Thu, 15 Oct 2026 19:36:33 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RX4B8ZRf" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5DF7457268A; Thu, 15 Oct 2026 19:36:32 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792092993; cv=none; b=ltIpQ0P0oCzppzN2QZiVnFJnJBi9M5vkPOedeG1UXP6FfGxQgnKDFPEtaDTPQ5aeL7uipc+Fyk8HeR7ppgO+COpUN4dKairV2JNX2nZ3h4/jJ/xXB9/+FT0a7q6E+0dMQUtrSZLT6Thfq+TXwkevFd8wrbD3/kzQXSuYmQIyDtk= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792092993; c=relaxed/simple; bh=xQkZ6wL5DX7K36xURIvtokpviq0OfwPjz4UDjX8Y+e8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TH2LP98sbN3Z3XtqVYKakIRvffWm8aEyBIPhhAbthXLoElmc8jxz3wZ/rPLZwwrGrEjUYT13wLq8gegdNpaYeiGBnrULLtxXcCZPWAAgP6cf/DxNKnKbx59/HLGW3lWRg0T5u1xhwLfndmzpU6iTKOHqzkCfzGUT2kUEIGXAYlQ= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RX4B8ZRf; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id F42061F000C6; Thu, 15 Oct 2026 19:36:30 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792092992; bh=by0e8225MtbYPCIfUN2aK7pgEEw3Huf7EZzUdrjurvI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RX4B8ZRfwypPtbyz49a9EvZErLzpTu5qz6sPTO5BBUgooAZqRmnHwFqwJh+empOg2 cSfMJtaV/F/qnBXo3p5D1ehiPPNbz61V1KUE4NBiJuLKkJvCf1Waa8dLqDnCwtriPd kNJw/f0h+SV2PkRNFB1St+JGACOcjEUZCzG5BM6y0/HTZ+dF21W6HXFn02e2VGpC4J 2FuykPc6dm1BEE6RgE0IfP/t1nMRdu3Nq4tfLdE0g4fe1oPrGT4Zh3P19XYpGBXzgV 3IAvp9nKy2rROm3vWd+NEGB4ubI2m0lXcIP4NzFmVJwNW4igjsMpAGBqPJElk7Pa5J uTfd1I9C8P1ew== X-Cc: Sasha Levin <sashal@kernel.org>, steffen.klassert@secunet.com, herbert@gondor.apana.org.au, raminwo0202@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, apais@linux.microsoft.com, Tahera Fahimi <taherafahimi@linux.microsoft.com> X-Mailer: git-send-email 2.53.0 X-In-Reply-To: <20261014212540.1437936-1-taherafahimi@linux.microsoft.com> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>