🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18819

Re: [PATCH net] net/mlx5e: Hold sync_lock while resetting VXLAN ports

#18819
From: patchwork-bot+netdevbpf
Date: Wed, 18 Nov 2026 23:50
24 lines
8775 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 12 Nov 2026 23:03:23 -0500 you wrote:
> mlx5_vxlan_reset_to_default() walks vxlan->htable without sync_lock
> and calls mlx5_vxlan_del_port() for each user port. mlx5e_nic_disable()
> and mlx5e_uplink_rep_disable() call it after rtnl_unlock(), so the
> udp_tunnel_nic work can run mlx5e_vxlan_unset_port() at the same time.
> If that removes and frees the entry saved as the next one in
> hash_for_each_safe(), the walk then reads freed memory.
> 
> [...]

Here is the summary with links:
  - [net] net/mlx5e: Hold sync_lock while resetting VXLAN ports
    https://git.kernel.org/netdev/net/c/d61480a622be

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179504580428.2624320.5569351185904692837.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366532-linux-kernel-netdev=dewy.ru
References: <20261113040323.2090829-1-lcy8047@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366532-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/mlx5e: Hold sync_lock while resetting VXLAN ports
Date: Wed, 18 Nov 2026 23:50:04 +0000
Organization: Usenet Network
Message-ID: <179504580428.2624320.5569351185904692837.git-patchwork-notify@kernel.org>
References: <20261113040323.2090829-1-lcy8047@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2732613"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:XimJ+nOGC2ErFK2iXOuVirHQCWQ= sha256:8iD0jt6NUeZkIQjHyZjhrlfOXmaUFWWJBrBhP0aJYCw=
	sha1:itQLF9sgIy1dGilYi7PeD7WTlxY= sha256:LV0oVYPiQ164j03X63TlJLIesHMcowIIZviGe73ms78=
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 1535811542B; Thu, 19 Nov 2026 02:50:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, 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 SR4SnRnT81JM;
	Thu, 19 Nov 2026 02:50:19 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366532-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 871691153F8; Thu, 19 Nov 2026 02:50:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id D58E17211B6; Wed, 18 Nov 2026 23:50:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795045806;
	b=5dhfQT/Ot4/0bkvedtEBr0c4IHg5RJB/GHPel5E2efUYwO4q/M9UsLIshlpBJTDDbe7t
	 n1iiseB/NizRUzQ0++6U3gM+V8/+54wHs88Op6VHasQx9fTWXcq3VzSkPc7gg4PA5Qa0C
	 BtzrMyeQfhXTZ4w5yXG77eNHmhEV37Can9Nf99vBKKKfRcfe3FguHDP5ZxPhUq3kqkdxk
	 G9KowCxndrRKIh0C1+76UR87elaimOK84gZOO+WZuzgl03zoleAvhVEfXapSHEYHFqwoa
	 XU45O8p1bddYKSX/M4QXGjxfK7AWCSbVS9GtO8NkLObIAZt6l/hPQtrfPMh/w5IvC1g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795045806;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=oJOFhz1pCpUgpYgypKdG2orjy9gPvBXNHNe+8O6151I=;
	b=PScOdlnML+Y9RdNCnLwDNh2W+B9NvISXT5M6XyuaRoYny/hV4lmyJ2LzbXAX7o/Ajmqr
	 gv6fIVeqWJfV5L+aRtQMocplKkSbVAPLtjCBWX1ZK1BxgFFFVxjad7lqPWVCxA/5vfAfD
	 imMrTLTleuxgILapycNaL4mHt8FBJ6uR6kdXZaaaOOniZ+o0lYq+75N9PAzSlD8hwkaXL
	 9EQCiJRBeRMd6xmSxCipBeVDzEaT9xEbPhAjQnuzt/H/sMM6Ww3SgkOQBouog2A0DuS5n
	 gfT1kxhuPPcCbZlg8n1x2HeDMpjhARzHYc2a/MRlqgMwUJvARwrl+UWGBqeGvSFvTaA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="GyK/+mzi";
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 880AE606A33B;
	Wed, 18 Nov 2026 23:50:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GyK/+mzi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795045805;
	b=hsUebw4qWkmqag/e946P5pgMvUf5d01YQNzwy1ry5JEJc0rcS0dOwcl64cORFq5yXcec
	 HEKTGuIwvZ4Vi2Dr3HWHh0R7Gijf9cumLfxPlpMWUTV1N9i0KSZ3wtPzFqsLkqCkyPpjK
	 0pnIKd6nBn2t6jXXUmawIWJqq6P2IINc4D46lVjwfFogJuiiR6LG1jlqJBS7EiRnDonsX
	 UZyy2iialR5zXPoNKxb0qZtdkjQGjRHB1ib2cHLNmnsMqyfY4nl78zB4L95y7lKBX1noT
	 TopGJ0Zej10J8eL4szcTvoiVHQiAmM9QREP6A0ZORzm3cqPjdum++Oh6NusOMaYNs8w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795045805;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=oJOFhz1pCpUgpYgypKdG2orjy9gPvBXNHNe+8O6151I=;
	b=3ZHHbcw1/+sQvg1AWwXON6iAGg1KaCqMRf++SdEBroVSbcHMtAuhaRGtH3hL8IhcC7t5
	 Dx9Z1YsflpQYjxnxkB1IkDCz3AP8gM3/EwLQYkFEgMBboUJQF/W0P0yp1GgEpE5VfbZmu
	 6ANPC7NaDqXZEduHGo9MffTVtM7wCCQfjbPA26sErboLwB3kG+qogFn2erq67vnsRJEhB
	 08UT5Fkq+s3T9qjdH9+ACRkq3ToYfw2DyoDsufh9YzDEIU/zulTTeAJMbZBZajU7SomNJ
	 /P/ewVnIRts/2FYNh7nqCl5pzD1MXMgFab6F0e0QJi1TW4/yNr5beTi6phP0x3vcUjw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="GyK/+mzi";
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5D6F606A325;
	Wed, 18 Nov 2026 23:50:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 800E61F000C4;
	Wed, 18 Nov 2026 23:50:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795045805;
	bh=oJOFhz1pCpUgpYgypKdG2orjy9gPvBXNHNe+8O6151I=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=GyK/+mziuBGZPKhrL7mj1hYkE5nElViBmqmG07hgjp7/L2EDCGFqtZEAI6z3YyQ3P
	 w1EfM21LWD7rdaOa3kLsqhMBeby9gDtRTtTtZq9a3tlXUOryOxNHLkYfeBeS+dA80W
	 /YuJBbAbw5uGDMOyiwA4dNl9Nimn9CmQ93P0lr+B1K3TjD4Vwea4X2gjnhEb/ujTxu
	 XNULxnZQqwUyFEUEXWPf6hjOOyXRWspojJPe15i/Tes1OjRVJiuj0mbk7xX3HE0dwv
	 hWW7rJCi/XFDsVLotQaIDrcjapaimj0KDnOyaT2J7nPeG4QnVlcAppGVuzqEsZ3wAM
	 QCUQAfd2zGbWg==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7735B3808210;
	Wed, 18 Nov 2026 23:50:05 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261113040323.2090829-1-lcy8047@gmail.com>
X-Cc: saeedm@nvidia.com, leon@kernel.org, tariqt@nvidia.com, mbloch@nvidia.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, moshe@nvidia.com, ayal@nvidia.com,
 netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
 linux-kernel@vger.kernel.org