[PATCH] net/bonding: fix device configure reentrancy

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Sun Nov 6 10:37:25 CET 2022


On 11/2/22 06:35, Yuan, DukaiX wrote:
> -----Original Message-----
> From: Ivan Malov <ivan.malov at oktetlabs.ru>
> Sent: 2022年11月2日 0:19
> To: dev at dpdk.org
> Cc: Jiang, YuX <yux.jiang at intel.com>; Chas Williams <chas3 at att.com>; Min Hu (Connor) <humin29 at huawei.com>; Burakov, Anatoly <anatoly.burakov at intel.com>; stable at dpdk.org; Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Subject: [PATCH] net/bonding: fix device configure reentrancy
> 
> As per report [1], the previous patch for device configure code apparently overlooks the corner case of manually adding back-end devices to the bond using testpmd CLI. The problem is in removing back-end ports on re-configure instead of just stopping them. Fix that.
> 
> Fixes: 339f1ba51353 ("net/bonding: make configure method re-entrant")
> Cc: stable at dpdk.org
> 
> [1] https://bugs.dpdk.org/show_bug.cgi?id=1119
> 
> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> ---
> Tested-by: Dukai Yuan<dukaix.yuan at intel.com>

Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Applied to dpdk-next-net/main with minor fix suggested by
Stephen, thanks.



More information about the stable mailing list