# Re: \[PATCH net\] bonding: do not clear curr\_active\_slave prematurely when releasing all slaves

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2026-09-03 01:31:06 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/09/17501579
- Thread: https://ratatoskr.run/netdev/2026/08/17487719/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [ref]:

On Mon, 31 Aug 2026 20:30:42 +0000 you wrote:
> When releasing all slaves during bond destruction (all == true),
> __bond_release_one() unconditionally clears bond->curr_active_slave to
> NULL in every iteration.
> 
> If a backup slave is released before the active slave,
> bond_alb_deinit_slave() triggers rlb_teach_disabled_mac_on_primary(),
> which increments the active slave dev promiscuity counter and sets
> bond_info->primary_is_promisc = 1.
> 
> [...]

Here is the summary with links:
  - [net] bonding: do not clear curr_active_slave prematurely when releasing all slaves
    https://git.kernel.org/netdev/net/c/af602c7aa5fe

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
