[PATCH 22.11] test/bonding: fix active backup receive test
Luca Boccassi
luca.boccassi at gmail.com
Thu Feb 20 14:29:14 CET 2025
On Wed, 19 Feb 2025 at 17:34, Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> [ upstream commit eb29e625ce41b50898efc8e2618b7eeb128460ed ]
>
> The test had incorrect assumptions about how active backup
> should work. When in active backup mode, the secondary (not primary)
> ports should be ignored. The test was always broken since initially
> written but earlier bug was masking the part of the test which
> tested non-primary ports.
>
> Bugzilla ID: 1589
> Fixes: 112ce3917674 ("test/bonding: fix loop on members")
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Huisong Li <lihuisong at huawei.com>
> Tested-by: Huisong Li <lihuisong at huawei.com>
> ---
> app/test/test_link_bonding.c | 77 +++++++++++++++++-------------------
> 1 file changed, 37 insertions(+), 40 deletions(-)
Thanks, applied with minimal changes to make it build due to struct
fields having different names
More information about the stable
mailing list