Article View: linux.kernel.netdev
Article #11594Re: [PATCH net] bonding: 3ad: don't set BOND_LINK_FAIL on a slave that is not up
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 10:30
Date: Thu, 05 Nov 2026 10:30
29 lines
9080 bytes
9080 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sun, 1 Nov 2026 16:56:53 +0200 you wrote:
> In 802.3ad mode, when bond_update_speed_duplex() fails on NETDEV_UP or
> NETDEV_CHANGE, bond_slave_netdev_event() sets the slave link to FAIL if
> the slave has ever been up (last_link_up != 0), and to DOWN otherwise,
> so that miimon can set it right once speed/duplex are valid.
>
> last_link_up is never cleared, so a slave that is currently DOWN but
> was up before is set to FAIL as well. miimon then treats it as a slave
> that is still in use and takes it through the full down path again:
> the link failure count is incremented, "link status definitely down"
> is logged and the 802.3ad port is disabled a second time, although the
> slave has not been up since it went down.
>
> [...]
Here is the summary with links:
- [net] bonding: 3ad: don't set BOND_LINK_FAIL on a slave that is not up
https://git.kernel.org/netdev/net/c/9a65b9c2a975
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179387461633.3576987.4987081538840722192.git-patchwork-notify@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-357221-linux-kernel-netdev=dewy.ruReferences:
<20261101145653.63648-1-timur.stukan.linux@gmail.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-357221-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] bonding: 3ad: don't set BOND_LINK_FAIL on a slave that is not up Date: Thu, 05 Nov 2026 10:30:16 +0000 Organization: Usenet Network Message-ID: <179387461633.3576987.4987081538840722192.git-patchwork-notify@kernel.org> References: <20261101145653.63648-1-timur.stukan.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3616877"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:lt8JaALnj26RPhUnKPBedxpD05o= sha256:/+HTpBFHYhOBF07zQrU+cEJ7So5Ok/eJgDk7F78MgYc= sha1:m1fNvH2yBKCrcUHx1n4R+buuU3Y= sha256:YfJSOnH4rGHRd3G3KU1FhUc903y5mPBn38iT3fbpLlQ= 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 2AB70112F1B; Thu, 5 Nov 2026 13:56:18 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 FXSdeOUrrcGU; Thu, 5 Nov 2026 13:56:14 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-357221-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 19A9E112EEB; Thu, 5 Nov 2026 13:56:05 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 56C372D00F; Thu, 5 Nov 2026 10:30:25 +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=1793874624; b=1rlzUej831+LDefmhyd9NHEgFC5sZo/0mGvFC5ginijQfGNnsFFoynZwi/+ZoRTvMnLH +7UGmAj6ix0yDPcVr976yb8QdnfeA4/Leo+3YbeuvkEi+FHqMgbrE4Yp1rzRW0g8j4p+M 7pMqUUrmg4szy4EwbcV1thtPtYQySeQa7OP/YRqyyxQYv/AIAqX7p+KxrU1cPEatdYlN9 l0D82UAHNA7nWch/UprhxapPu8PIUAyewOoElHAvlAvhqtQ/ZI+kmCRYwbTqKcvtj/Lj1 9xN/nH+PCNfZZzX1lUvqs+Yb9wXvX6YnFT1oI7R4RpAPrweNR1WnR8sb+vOvhrbX27Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793874624; 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=rvXZkXBoSc01BuQMaMY6YsC+L/a/HGpLrROmj8tbDpo=; b=zrjkEBo+knv+bvUkZfpl9PVGPykR5CDbv/5Jw7BHa1cRQsHXCeW2mHtxReDFuoRx+7O/ JN0A6ObL+yNcXAhlNn3byAgjCs0YmBmB6oPq3ymp10Lo6J2osBOCdKEYeOZIcS346Oz6d GQAfSpEK3j8FQjEpKg/Lyxa+J7Fs1BZboFuJVfW1Q9rrCylibmE4L/upGAOfeOn3xv2ks Rsh/AmtXfEr4RglqSgz7Rywm7/VqZtQEex0EfpRtPlzT/36L9s84wKYr45jQNUm4nhJoZ wGL+7tgHOvb8sWsucz15w12/Sg4gzLj5q+AXK3WRql5LGcswxa48VU++v4XBMWRnzJQ== 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=H23MBZqP; 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 92E49606A330; Thu, 5 Nov 2026 10:30:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=H23MBZqP 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=1793874618; b=iTdtkTwOTqutCFqX/TCFlS7kGTOrqCRUgaMJugKgMdFY/DrH1dn7I2/08Z+CODZQFge9 ED7VfDdsfhDKZXTXzQi9CT1ftoKjQbP2iyqfbO8DBYcr6xlkshZb0UaYfboNRf7yJeBlF 7RMlJX3Fz8j0s2vzEtUTjHvdz3stiGR+H1RlSNiYGD2pVHu2h8zIXnIOegZRqD4eK5mVb XcZ6ngTxyFrI6V81W+USE6smNi5SPrWVSXIYUVpVOs9UcYYCQyJc26KcxgKDqHsH735l5 ceK9gUfKg5MkH8Bgoa0EjGnjLrtVo7eBD1RyfFykNsb9wlfcNDv4x6LHpS0FecNNPIA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793874618; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=rvXZkXBoSc01BuQMaMY6YsC+L/a/HGpLrROmj8tbDpo=; b=lBOEYVAz4RoIcOSDUEmVLhuxuJ4Kc4PxKn1zOmk95l0mGOEeGhFNMjRpm/kAaVRYIs9t jQy47fCrkNenlG4cdY8vzL28UIREXVk5BYETzBz0FUiIL42S7ZAooNDOxYzSPm9e8s6z6 TlqC4Gjl3Lecvfm9DIHUraRFuEgZV5jarZnWPUMBvXKe9Ix3maqhXBSH0Vvhpq23bnoXU uih/9ffxviQWrO4YS8zap9hildeIibY/XQlul6qRgF//0shfLKL1SkIYkGs+X6hU7SX2q Np07zA395b0RvJKCH45Izvq0pUBldQUjN4qsNFx09xyN5+csIgjctTWRRHu0Dzv/bdA== 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=H23MBZqP; 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 2F597606A31B; Thu, 5 Nov 2026 10:30:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C20AF1F000C1; Thu, 5 Nov 2026 10:30:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793874617; bh=rvXZkXBoSc01BuQMaMY6YsC+L/a/HGpLrROmj8tbDpo=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=H23MBZqPCzDGaE9SmlHmA2NIjBigrGFV2rEr44FssRO9HAJkV+SUusWDq+Z4wkil7 KqPdfrJeAjEBtO77HLF6/tDtmYwe14BtPR1km9CvKGHsd6kS8hEjqt2+AriQCFtqG1 +HCcRRM0YVNU5LXsSGy4Ixt1GdWgMiDk+AvqDPXjN9osxJc30W+goUi93NrDdfP8DR 1wpL7UYzw7XUwQE5VwKXKRL6Qh6c5yGb5CozS9JQ8opPW4Khdd5jXm1O/0frUGLwf/ RsiBjlIXS9QrfIb4IDmIkLOYm1GQCA+P5mYh83BVwyy90iXiMGMkLsUoeTe/wf7UOU 5QS7mLPzhZXvw== 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 BA3A1391AFB4; Thu, 5 Nov 2026 10:30:17 +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: <20261101145653.63648-1-timur.stukan.linux@gmail.com> X-Cc: netdev@vger.kernel.org, hangbin.liu@linux.dev, razor@blackwall.org, fmancera@suse.de, jv@jvosburgh.net, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, jarod@redhat.com, linux-kernel@vger.kernel.org