numam-dpdk/drivers/net/bonding
Hui Zhao dfbc596c2e net/bonding: fix OOB access in other aggregator modes
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: 6d72657ce3 ("net/bonding: add other aggregator modes")
Cc: stable@dpdk.org

Signed-off-by: Hui Zhao <zhaohui8@huawei.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Chas Williams <chas3@att.com>
2019-10-07 15:00:57 +02:00
..
Makefile net/bonding: use new ethernet address parser 2019-07-08 21:26:52 +02:00
meson.build net/bonding: use new ethernet address parser 2019-07-08 21:26:52 +02:00
rte_eth_bond_8023ad_private.h net/bonding: prefer allmulti to promiscuous for LACP 2019-08-22 18:45:49 +02:00
rte_eth_bond_8023ad.c net/bonding: fix OOB access in other aggregator modes 2019-10-07 15:00:57 +02:00
rte_eth_bond_8023ad.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_eth_bond_alb.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
rte_eth_bond_alb.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_eth_bond_api.c net/bonding: check status of getting link info 2019-10-07 15:00:54 +02:00
rte_eth_bond_args.c net/bonding: use dynamic log type for error message 2019-07-23 14:31:35 +02:00
rte_eth_bond_flow.c net/bonding: switch to flow API object conversion function 2018-10-11 18:53:49 +02:00
rte_eth_bond_pmd.c ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
rte_eth_bond_private.h net/bonding: prefer allmulti to promiscuous for LACP 2019-08-22 18:45:49 +02:00
rte_eth_bond.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_pmd_bond_version.map fix indentation in symbol maps 2018-11-26 20:16:46 +01:00