Article View: linux.kernel.netdev
Article #4242Re: [PATCH 5.10.y] xfrm: prevent policy_hthresh.work from racing with netns teardown
From: Sasha Levin
Date: Sat, 17 Oct 2026 03:00
Date: Sat, 17 Oct 2026 03:00
10 lines
5747 bytes
5747 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 5.10, thanks. -- Thanks, Sasha
Technical Details
Message-ID:
<2026-10-16-1-daily-reply-0005-xfrm-policy-hthresh-5-10@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-347649-linux-kernel-netdev=dewy.ruReferences:
<20261015202239.1936469-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-347649-linux-kernel-netdev=dewy.ru From: sashal@kernel.org (Sasha Levin) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 5.10.y] xfrm: prevent policy_hthresh.work from racing with netns teardown Date: Fri, 16 Oct 2026 23:00:10 -0400 Organization: Usenet Network Message-ID: <2026-10-16-1-daily-reply-0005-xfrm-policy-hthresh-5-10@kernel.org> References: <20261015202239.1936469-1-taherafahimi@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2951600"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:+L7sZEs/zdhzgBvqy4jbQu2FQCg= sha256:c05CU5KDSmGfEglabiGcDCWcqANw+7pmHRniLV5IhUk= sha1:tRgJ6ALRYxUz9uFGb2LFWEVuEj4= sha256:4nJkdqlQYS3qMLQ+0dj2telNFgL5/EthGGbmtBPSecU= 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 B861F110676; Sat, 17 Oct 2026 06:02:21 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.64 X-Spam-Status: No, score=-3.64 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, RCVD_IN_DNSWL_MED=-2.3, 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 p8bhQBIJVOhW; Sat, 17 Oct 2026 06:02:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-347649-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 205B2110622; Sat, 17 Oct 2026 06:02:10 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 0962330022; Sat, 17 Oct 2026 03:01:06 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84A643C769F; Sat, 17 Oct 2026 03:00:34 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TfXXH/Xu" 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 F0F533BE62B; Sat, 17 Oct 2026 03:00:30 +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=1792206034; cv=none; b=n3J850lzdywMgzAFh/fUF/u2njpD8Gw72veB/iUbCe8bGo9jER5W+3Pzcm0BnP/ZWvLsax03Uvmpyh4sHQ7kVMrmLlH775XHoOs6FTWNRYKqzWjAJh3/xgdgOPM7yNXjBXufzRg/JuT1jkZvduZkO2kXYAfulA1anSssViyKmJ0= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792206034; c=relaxed/simple; bh=IqmwSZ52JTGVl4TrAyKO4toWs0mNLkLk2YsA33VciuU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kMR0vaZ3Qqr1NnTtYQNiRaga0lU1FfaHTN7LYtIiCsePEWgVRSwQ9VhSF9jSjypA41TSM1nhXMu3g1j5ZcOhWpquUz84onUMqe4XbDxV7UvSU9l0+wAOSwDYa6CqjOf/sHjf1bHn9JbD30rq8sT0O9E7Z7Nh4KIfICvOj9GtSGY= 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=TfXXH/Xu; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FB501F000C9; Sat, 17 Oct 2026 03:00:29 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792206030; bh=ivoqL5kIVJZ0NzshfXAI83feukEc2ZCQV/fiBOG99us=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TfXXH/XuT01Qi6SHoWxyfoePd84I+hm1SEx/ebbwQwefYgja3WHK6lUqGjM+TXOR5 aUt3T1Eri7OcP+IYXgcfs5KFisSfuhDKfwqs1Qd7sBdGYkz/HvzLmt4iPlXLVFQEs7 yhZS+5i2A9WJglFQvUmj8graWod0BGb5lr+04G7j9lrSCN0KJ3UtNg+EV8BH7qC80Y miApW60UYVCDGOQi04nXZP2v/80SRhLBwwA8YeaQ9yxnYFsbTF8VkVy4/asCDDw62R tAJDVAKdw5r7C58Uxu9DhzyNmVROE8P1wTqNxSx4ByhckjjPhM3ORqpSKUkjG8RaJN u2U36XCUqg3kw== X-Cc: Sasha Levin <sashal@kernel.org>, davem@davemloft.net, steffen.klassert@secunet.com, herbert@gondor.apana.org.au, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, apais@linux.microsoft.com, edumazet@google.com, pabeni@redhat.com, Tahera Fahimi <taherafahimi@linux.microsoft.com> X-Mailer: git-send-email 2.53.0 X-In-Reply-To: <20261015202239.1936469-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>