🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23379

Re: [PATCH net-next] bonding: undo enslave state when XDP setup fails

#23379
From: Hangbin Liu
Date: Fri, 27 Nov 2026 06:54
21 lines
8526 bytes
Hi,
On Thu, Nov 26, 2026 at 02:00:05PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Medium] bonding: unbalanced bond_slave_ns_maddrs_del() calls in
>   bond_enslave()

Ack, I will remove the call in err_close.

> It also noticed 1 related pre-existing issue this patch does not
> introduce:
> - [Critical] bonding: missing cleanup and 3ad unbind on XDP error in
>   bond_enslave() [1]

This will be addressed in another patch.

Thanks
Hangbin
---
pw-bot: cr
Technical Details
Message-ID: <awkpHepMHPoNNYf0@fedora>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372506-linux-kernel-netdev=dewy.ru
References: <20261125-bond_xdp_rollback-v1-1-35dddaa337ba@kylinos.cn> <sashiko-outbox-235667@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372506-linux-kernel-netdev=dewy.ru
From: hangbin.liu@linux.dev (Hangbin Liu)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] bonding: undo enslave state when XDP setup fails
Date: Fri, 27 Nov 2026 14:54:21 +0800
Organization: Usenet Network
Message-ID: <awkpHepMHPoNNYf0@fedora>
References: <20261125-bond_xdp_rollback-v1-1-35dddaa337ba@kylinos.cn>
 <sashiko-outbox-235667@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="662966"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:DJTxEAIFYd6xxljAXuudWMSL6a8= sha256:rtnf2/AA2Ry7oRRX86ZPjJs8lefimInXwniIQTYljiE=
	sha1:1iuLLebBahh7J92R8wtcsHqmLzE= sha256:lX8o2UtY0RtORUTbBZy27pnUUThxNavNTUaSN7sBr94=
Content-Disposition: inline
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 CBE6C125F12; Fri, 27 Nov 2026 09:54:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.151
X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31
	tests=[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]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=linux.dev
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 fFf53q8A6VWn;
	Fri, 27 Nov 2026 09:54:51 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-372506-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 3ADBB125F10; Fri, 27 Nov 2026 09:54:43 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id D45002363C; Fri, 27 Nov 2026 06:54:41 +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=1795762481;
	b=AAzRPbX2DcAcEsWpEqcvT6oUC3FZt+iR/xXP66xBXXPO94ugOaXYBg9ndNdSgeGAEB/b
	 XCtVBeC7AdR0nqoDH/iGViEMUp+tfIUJ1KQZ2GGIC2+0UNhjCZZ3WWXfhHPPUca1SmHcX
	 kb7prVrgsG2vkwve9f1og9V4kyc+vq7lATEI/siGDm+ztzgmnduQoLTH4cJH3Nye8AjdE
	 u7w8UxADdlugoLUd5+ZhDT+1fqJ6MK1tiA2SJjt2qtVRQwc8gwjNMzZqSp6FQjU9xLB6K
	 98v1q40FWDViVTU3rFXA0Spg7nLb4qhoRXchfUGq9RHrM9reMAhdY9XPCtJO40+MeoQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795762481;
	h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature:
	 X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=ldgBYXNws0SrExrvq7eT+4NnxJR8sVTNBuuXZq814K4=;
	b=xGA1bRFjQub/UROom7p/4ciO2R/d7sLicI9hjQDTatwSSjwfEBRJJFIUUNXxE7OzQca6
	 sSpdttTkBiWQ5COqd/ao1BIUYFhUHgNwmNWKXvg+jrYB8Zco1UvcMIpk1glWaz7rkQFXL
	 hefkZJFXHzBKlY4ybUccQQHVItSuiR3BxQl74LNgQQ0y1wCvEq5JVC7dL0b1ccQcxllEn
	 XZlr14iQf4dYuzv7ZGmo7J+eqje/JzY8c1mrExJHx8angAP648JZ5EStLaVZ3yQhfh/5g
	 8/8B7ba5Qs4hR4ptAoNxs8ROSBdWj4A8F/lBLc7FIdoGEEXzb0fgO4VAxuhNB4CgwYg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=srHIPuTm;
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	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 09D64606A324;
	Fri, 27 Nov 2026 06:54:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=srHIPuTm
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.126
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795762475;
	b=y8fe0wyzJ6YmrQxxvv5WX/4Biq/fD+mz4G319gWbOa12SdNaeTs+/Kf/378RWe+sQapu
	 ZvQASFehKiqD8U8K+pGrHCZJwXOvikZUdSWXI0bbQrgtxNtaEc45cJt3bMmX1nNoNh+LL
	 wPloSTvcEaUf0M2y9K6vS9ydgRVIS2CSr6r1Xt7LcKsEOasNeJNakgfHnxKpXeFYh1xBY
	 hd1jFK+zPfAek5sOQax0h6JiNSWguLA8br4zvRkyf5bHsillQDfYsNuVuvourGp0ZFzbJ
	 OZu8xaSBbKyHbAi9FYql2DEII6bDnwaID7xEslFbyrJoDJcBXu9Ap2j1tW3s6JddH3Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795762475;
	h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received:
	 X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=ldgBYXNws0SrExrvq7eT+4NnxJR8sVTNBuuXZq814K4=;
	b=tE9MwScFouRrU9zfu7V61p7aWwWvCBJL/TmnHzRoSgU5lE6VZgjmNrBYhEe8d0M5asje
	 LAvaZCjqk7FVg7eDK0bdFN/lhzvmJBHAlpwGzPNddvi+otS/X3EnWwIBB3Ok4CxpEoYxO
	 J09mIh1wAJI9dMWmGFS09CcO8r8J7nV68JnQp8BsGSRseQb3ltXjWm9zb15uw52P+kfs5
	 9ihMsbH2VYhwCjo8u3vPV8pAeXfI+9TVRvOTeUQBlikIBxalc/6JDXTuwhAzsg5EhRnSp
	 ubNudZIPfuPKtdrQOPV1VTygi0S3v+Snw9x5fZZDzcXScy4bOYibFUTx6SZY/i+yLmw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=srHIPuTm;
	arc=none smtp.remote-ip=95.215.58.126
X-Received: from mta1.migadu.com (out-126.mta1.migadu.com [95.215.58.126])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73063606A321
	for <netdev@vger.kernel.org>; Fri, 27 Nov 2026 06:54:34 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 73063606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=h5rar8UUerAtpvggvfcIKvDaE3+p/9NaedNCkZ6XPI4=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1795762472; v=1; x=1796367272;
 b=srHIPuTmAbozvAb76f9ZODMlxakRy9BKzVtH6BdUOSiPl6TMVnEIsMPAMHyeJJ11m5UcbiH9
 5eqYr4WJJQGOLP8O7E81eowjttOhEtB13JwE/FLs+CIf0BfoRhmasmaCneJxOmFzfGoXxuJgzbE
 b9Tm9zHcLFX2jfJk5OUbNIDw=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by mta10.migadu.com with ESMTPS id 5fb339c859fca4ae;
	Fri, 27 Nov 2026 06:54:32 +0000
X-Mizu-Trace-ID: 5fb339c859fca4ae
X-Migadu-Flow: FLOW_OUT
X-Cc: bpf@vger.kernel.org, netdev@vger.kernel.org
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: <sashiko-outbox-235667@kernel.org>