[PATCH] net/bonding: fix device configure reentrancy
Yuan, DukaiX
dukaix.yuan at intel.com
Wed Nov 2 04:35:50 CET 2022
-----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>
More information about the dev
mailing list