🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #668

Re: [PATCH net] net/mlx4: shut down catas recovery timer during teardown

#668
From: Runyu Xiao
Date: Thu, 08 Oct 2026 12:45
28 lines
7041 bytes
Hi,

> This is fixing a patch from 2007.
>
> Did you hit this issue in reality, or just claimed by an AI tool?
>
> We need to have a very good justification to touch this old piece of
> code now, especially in stable.

I did not reproduce this issue on mlx4 hardware. It came from an AI-assisted
static audit, and I accepted the finding without establishing a failing
execution.

After rechecking the timer core, the interleaving in the commit message is
not sufficient: timer_delete_sync() waits for a running callback and retries
deletion, so poll_catas()'s own mod_timer() should be removed before
timer_delete_sync() returns. I have not established a separate concurrent
rearm path through mlx4_start_catas_poll() during this teardown, or observed
the callback accessing the mapping after it is unmapped.

I therefore cannot justify the reported bug or its Fixes: and Cc:
stable@vger.kernel.org tags. I will withdraw this patch.

Sorry for the noise.

Thanks,
Runyu
Technical Details
Message-ID: <20261008124500.954229-1-runyu.xiao@seu.edu.cn>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342960-linux-kernel-netdev=dewy.ru
References: <20261004121259.1245171-1-runyu.xiao@seu.edu.cn> <bcc09996-e71c-43af-b3f2-0d072f6d402a@nvidia.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-342960-linux-kernel-netdev=dewy.ru
From: runyu.xiao@seu.edu.cn (Runyu Xiao)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/mlx4: shut down catas recovery timer during teardown
Date: Thu,  8 Oct 2026 20:45:00 +0800
Organization: Usenet Network
Message-ID: <20261008124500.954229-1-runyu.xiao@seu.edu.cn>
References: <20261004121259.1245171-1-runyu.xiao@seu.edu.cn> <bcc09996-e71c-43af-b3f2-0d072f6d402a@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="882751"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ZGhsBJKt9rTJR+CClcPTKLYbwQU= sha256:fYB2WTo6YvS01APPEg3aA7cuT1aW1z9PvcDAPo3jjwM=
	sha1:MKmLGIMIZKB8yF5i/7Dv0JeHY3I= sha256:MRU1aJ2qZRl1cMcyt0U7kzPlHX45j9Hn/qsaRQenjP0=
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 BD8BD10F3DF; Thu,  8 Oct 2026 15:47:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=seu.edu.cn
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 TiboSOLNx4Um;
	Thu,  8 Oct 2026 15:47:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342960-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=seu.edu.cn
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id AC13810F3A5; Thu,  8 Oct 2026 15:47:40 +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 3AF91431B5; Thu,  8 Oct 2026 12:45:26 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B5B549E143;
	Thu,  8 Oct 2026 12:45:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=seu.edu.cn header.i=@seu.edu.cn header.b="cpXwrTN4"
X-Received: from mail-m49198.qiye.163.com (mail-m49198.qiye.163.com [45.254.49.198])
	(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 D788D49DBBA;
	Thu,  8 Oct 2026 12:45:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.198
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791463525; cv=none; b=n5ssodkCQn96rz/hs1pa7cPKuZfdY1C+aWLILLvOIaJHxgqBFGGbQ/L/VKaLRWCOhQwKG6goMBVJYvQT1mQCdLYgERp5JRxs6QGo2Ys8Z9SDPh5+ftsroIn9J3JwBejQ8cQZT47+WHU1xwYV8D+7vYBJdqGY8ZIdnXciIVzQoic=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791463525; c=relaxed/simple;
	bh=B2xwRmjaoQVg9wr0dMd5X+QH7+pRHtbhVjKfgTCyW5E=;
	h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:
	 MIME-Version:Content-Type; b=m92Dth6Niy9GMZourPx5erWCgnBuRKV26728rkBFmc613IPPnf4JqtUEFiX2J00s4g2xQeslV1/tI1wssclvhOtFEzddhhbZfSO+yQ+aw1/Bx3XQlK0dhXYz4thpYuN/zgOILE0lk+a1JO+d6ZFh1+BJ4LgYr+yQr3oa7qDuRh8=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=seu.edu.cn; spf=pass smtp.mailfrom=seu.edu.cn; dkim=pass (1024-bit key) header.d=seu.edu.cn header.i=@seu.edu.cn header.b=cpXwrTN4; arc=none smtp.client-ip=45.254.49.198
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=seu.edu.cn
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=seu.edu.cn
X-Received: from PC-202605011814.localdomain (unknown [222.191.246.242])
	by smtp.qiye.163.com (Hmail) with ESMTP id 50507b984;
	Thu, 8 Oct 2026 20:45:17 +0800 (GMT+08:00)
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org,
	linux-rdma@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	stable@vger.kernel.org,
	Runyu Xiao <runyu.xiao@seu.edu.cn>,
	Jianhao Xu <jianhao.xu@seu.edu.cn>
X-Mailer: git-send-email 2.34.1
X-In-Reply-To: <bcc09996-e71c-43af-b3f2-0d072f6d402a@nvidia.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>
X-HM-Tid: 0aa11b8bed7503a1kunme36ce5dd40edcd
X-HM-MType: 10
X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly
	tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkaQ09LVhhCSxhCGh1IThpOTVYeHw
	5VEwETFhoSFyQUDg9ZV1kYEgtZQVlJSUlVSkJKVUlPTVVJT0lZV1kWGg8SFR0UWUFZT0tIVUJCSU
	5LVUpLS1VKQktCWQY+
X-DKIM-Signature: a=rsa-sha256;
	b=cpXwrTN4AECBeNgPdmkbJBq7kM2og9ySgTU+CMqsFy8hsa3a3Cxz4eVuPJAYdAS7klVZtFDhziJ5QwvKZJauPyyrUu1VjOBmiS1xjgbXYfEDSdQ3ufd9Uy5uiNZg1K1+qMk/YXI7LXmKyIuQCkrSOiKAPt7abF5c7Onz+BnSDUY=; c=relaxed/relaxed; s=default; d=seu.edu.cn; v=1;
	bh=B2xwRmjaoQVg9wr0dMd5X+QH7+pRHtbhVjKfgTCyW5E=;
	h=date:mime-version:subject:message-id:from;