Skip to content

Commit

Permalink
Revert "test/bonding: fix loop on members"
Browse files Browse the repository at this point in the history
Revert commit cdf2912

This reverts backport of main branch commit 112ce39
("test/bonding: fix loop on members") which revealed a pre-existing bug.

Fixes: cdf2912 ("test/bonding: fix loop on members")

Reported-at: https://mails.dpdk.org/archives/dev/2024-December/310542.html
Reported-by: Hailin Xu <[email protected]>
Suggested-by: David Marchand <[email protected]>
Signed-off-by: Xueming Li <[email protected]>
  • Loading branch information
steevenlee committed Dec 13, 2024
1 parent 7715edd commit 39bcde2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/test/test_link_bonding.c
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,12 @@ test_activebackup_rx_burst(void)
}

/* free mbufs */
rte_pktmbuf_free_bulk(rx_pkt_burst, burst_size);
for (i = 0; i < MAX_PKT_BURST; i++) {
if (rx_pkt_burst[i] != NULL) {
rte_pktmbuf_free(rx_pkt_burst[i]);
rx_pkt_burst[i] = NULL;
}
}

/* reset bonding device stats */
rte_eth_stats_reset(test_params->bonding_port_id);
Expand Down

0 comments on commit 39bcde2

Please sign in to comment.