🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26912

Re: [PATCH net] bonding: check slave xdp_features in bond_xdp_xmit

#26912
From: patchwork-bot+netdevbpf
Date: Fri, 04 Dec 2026 11:40
26 lines
8854 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 27 Nov 2026 11:08:54 +0800 you wrote:
> From: Hangbin Liu <liuhangbin@kylinos.cn>
> 
> bond_xdp_xmit() may select a slave that bond_enslave() made visible
> before bond_xdp_set_features() republished the bond's xdp_features.
> Frames enqueued in that window pass __xdp_enqueue()'s bond-level
> checks, and the bulk-queue flush later calls bond_xdp_xmit() without
> rechecking anything. The selected slave may be unable to transmit
> XDP frames:
> 
> [...]

Here is the summary with links:
  - [net] bonding: check slave xdp_features in bond_xdp_xmit
    https://git.kernel.org/netdev/net-next/c/79bdbf36c64d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179638440440.1041218.14282130265526782404.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377314-linux-kernel-netdev=dewy.ru
References: <20261127-bond_xdp_xmit-v1-1-c2a7b622b95d@kylinos.cn>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377314-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] bonding: check slave xdp_features in bond_xdp_xmit
Date: Fri, 04 Dec 2026 11:40:04 +0000
Organization: Usenet Network
Message-ID: <179638440440.1041218.14282130265526782404.git-patchwork-notify@kernel.org>
References: <20261127-bond_xdp_xmit-v1-1-c2a7b622b95d@kylinos.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2752895"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:D98LVfGibF7207D6eCWARnNfwDw= sha256:eQhrxwsgLuk+xXVzcVLtqT/0Ls8p5skQHPdy9eRtbpA=
	sha1:IRrvCa071oIGYLYGuwBpn8V+rrk= sha256:uc651byVRxtU6thyJFB423JN0Gky3116ZG6XUixrqqk=
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 C662B117BD3; Fri,  4 Dec 2026 14:40:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.642
X-Spam-Status: No, score=-3.642 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.142, 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 n0uPVaDL_Rut;
	Fri,  4 Dec 2026 14:40:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-377314-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 C7F7B117BC2; Fri,  4 Dec 2026 14:40:18 +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 A2F0E604A49; Fri,  4 Dec 2026 11:40:17 +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=1796384416;
	b=zTT1hYHujB5yGXte1M5/yhYzoapXyTpCSzWXJyI+zeSDlHS9mikuq2HEowkg+voH5swy
	 XlD8UEBLdnUbiBE0VmUgxEGbMsH0azKh34J+U0UhSPatcdFblC5balp87TIbAO4l5qcka
	 X0ZApyso9ZgDKN3f8aA1hBt84/EfDpsOb0w4MaUnlIv/zcCC4RySgTdjH3u2mYzu19E2z
	 Xi11wj20tXawBhGyG6I1fOSsZRnmIMtUm3Lbcg6XuuTeHHUmZqGfRKDmTlvxwOXrt9Vg6
	 p7+nxcul4vA9QCBrKLJilGnWZUyIlNpj7Hs9SzSj3fvbXcD9gNhLtC2H4R+BVcGAU3A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796384416;
	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=7eX8ZyPU+qN89rPoN4NoqqQm80Wdvrm4F9bGhN3tdj4=;
	b=L98/Y6TqleJIjDhBfrVvb9ngdWM/fZ4ZcIPtgEAz6I4dexNIDZ1JJjcWpO49qW46VYmk
	 L7sWmEfNei94GksOyKFwiLjv8ApWwLYE75NHQXJV/dfOL1YLsgqCThaEVJyiqXDN80LqG
	 8zvkrSgvLagsomxhDAVS7S1cvIydv2isawFY50DBTgcf8sE6ca4WlYwyp1pkkn0qhauEX
	 w06xlL4z0AJJJ0rE85VNZVXxT9k1IezF9bFHvMJi5G25NIg09d5nJJXKHjKvAIuMKl7ik
	 mWYvs6uk7FMlUERvg8lxQQxlL7+n8pxBQfHaseP3A9R2oU9F56/q1gKIJSG5a7uusiA==
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=IN0HxyLB;
	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 C4AD3606A336;
	Fri,  4 Dec 2026 11:40:16 +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=IN0HxyLB
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=1796384406;
	b=Um97Phn3rTs0nVLSLtogqYv7wLeoe9cAEYtetY82q/M+45YUTVdH+Et264RhIxoSeib3
	 8G6G+J9N/cAGuvsUiX0CrNcgOr7M/j1QbNg5dBVtC50A9qptDSI3GKa2pAHWSbcSaUF1E
	 SlrqrKNgqPZzaJ1UMEHTxuBK37KRz6FVOvVF96LQfNrEVs5h5JSkw810+UDzSS7clLGst
	 JgO8avO/mqWGVq4hE6NRa3OS8by+S1IBnFtnljpWseT0ASDJYBmFXQkC7oO4a3Nff+7lc
	 fT3h7Ctqv99B52AFN0Re/bipsM5VILn3SO0fJ9Lx9BLzQ42Fi/s0onzZAtxt9gyL0AA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796384406;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=7eX8ZyPU+qN89rPoN4NoqqQm80Wdvrm4F9bGhN3tdj4=;
	b=5rXJk12OpmTDIW+59943llZ9I5ijjVGiuApcKZyK68cGbdfoNhVJUur9M7u1Rrmxk4Fh
	 euV3ysEdYU/sfTSbp9RiFqMu8Ii7ZCspIMeKjauGsbpI6P55ca0VYybkSLFlPocgjU5vI
	 RUngYYHM+FDRaEEcZ6tmD19BF4rNUhlPYvVKPBEBzO7WwVxpUQaPQfeXTzTpaEWQhOo0d
	 6R679WXd2Uk3aT+QKTXxfrxskz8zA3XcoUCd/x87uS1hSayUmqRdvSo92yv8lah+AkYVS
	 0sLq3x1DEPf+0xoLvrk/YsaiXZx906wR0xNur5ShVPXSiCRNt87ZccwuCDK7jTfSpHg==
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=IN0HxyLB;
	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 E0C69606A322;
	Fri,  4 Dec 2026 11:40:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0FC51F000C2;
	Fri,  4 Dec 2026 11:40:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796384405;
	bh=7eX8ZyPU+qN89rPoN4NoqqQm80Wdvrm4F9bGhN3tdj4=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=IN0HxyLB3z9F5HHucXbx03gKwHyPsJY3KXPEFzAOAN9r3EbAISYmIwRQiST6mu+tF
	 COWMjnqNnA5WNl+vEKk2We7O+CLj6baLCSd9lxKcZ5NKI3FZL4qp/pZX6CcdaZcDZf
	 ZEvOXPvXoX3gWpUoJ9z+k6uiKM6SO6E72bVf5jmk+A/gc/3hnQr/sNG5A74ZpajEXH
	 7P1dVgBnDCcMYIony9KZhqs8fcdjl6KrlJ1/5uQWeLAP84lv9+qowtFeXYzyUnD05E
	 v+Ur7Cx8K9VuntWRaKUHWBpl/IJ0qXnWYXuBIKb7ZxbKVnUQMaPI/Z5aSYt+CeyKWU
	 nF3+WoYH8Zuyw==
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 96BA63808236;
	Fri,  4 Dec 2026 11:40: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: <20261127-bond_xdp_xmit-v1-1-c2a7b622b95d@kylinos.cn>
X-Cc: jv@jvosburgh.net, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, ast@kernel.org,
 daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com,
 sdf@fomichev.me, joamaki@gmail.com, netdev@vger.kernel.org,
 bpf@vger.kernel.org, stable@vger.kernel.org