[dpdk-dev] [PATCH 2/2] net/bonding: fix oob access in "other" aggregator modes

Yigit, Ferruh ferruh.yigit at linux.intel.com
Mon Sep 30 15:49:30 CEST 2019


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 <zhaohui8 at 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: stable at dpdk.org
>>
>> Signed-off-by: Zhaohui <zhaohui8 at huawei.com>
>> Signed-off-by: David Marchand <david.marchand at redhat.com>
> 
> Acked-by: Chas Williams <chas3 at att.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list