On 3/24/2019 1:35 PM, Chas Williams wrote: > Have you ever experienced this problem in practice? I ask because I am > considering some fixes that would limit the number of slaves to a more > reasonable number (and reduce the over stack usage of the bonding driver > in general). > > On 3/21/19 4:28 PM, David Marchand wrote: >> From: Zhaohui <zhaoh...@huawei.com> >> >> slave aggregator_port_id is in [0, RTE_MAX_ETHPORTS-1] range. >> If RTE_MAX_ETHPORTS is > 8, we can hit out of bound accesses on >> agg_bandwidth[] and agg_count[] arrays. >> >> Fixes: 6d72657ce379 ("net/bonding: add other aggregator modes") >> Cc: sta...@dpdk.org >> >> Signed-off-by: Zhaohui <zhaoh...@huawei.com> >> Signed-off-by: David Marchand <david.march...@redhat.com> > > Acked-by: Chas Williams <ch...@att.com>
Applied to dpdk-next-net/master, thanks.