[dpdk-dev] [dpdk-stable] [PATCH v2] net/bonding: don't clear active slave count

Ferruh Yigit ferruh.yigit at intel.com
Thu Jul 5 14:42:35 CEST 2018


On 7/4/2018 3:28 AM, Chas Williams wrote:
> From: "Charles (Chas) Williams" <chas3 at att.com>
> 
> When the bond PMD is stopped, the active slave count is reset.
> For 802.3ad mode this potentially leaks memory and clears state since
> a second sequential activate_slave() will occur when the bond PMD is
> restarted and the LSC callback is triggered while the active slave
> count is 0. To fix this, don't clear the active slave count when
> stopping. Only deactivate_slave() should be used to clear the slaves.
> 
> Fixes: 2efb58cbab6e ("bond: new link bonding library")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chas Williams <chas3 at att.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list