numam-dpdk/drivers/net/bonding
Bernard Iremonger 2186fff367 bonding: fix crash when no slave device
If a bonded device is created when there are no slave devices
there is a loop in bond_ethdev_promiscuous_enable() which results
in a segmentation fault.

The solution is to initialise the current_primary_port to an
invalid port value when the bonded port is created.

Fixes: 2efb58cbab ("bond: new link bonding library")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2016-03-16 19:05:47 +01:00
..
Makefile bonding: add depencency on cmdline library 2015-12-03 00:02:53 +01:00
rte_eth_bond_8023ad_private.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_8023ad.c bonding: copy entire config structure in mode 4 2016-03-16 19:05:47 +01:00
rte_eth_bond_8023ad.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_alb.c bonding: remove fake pci interface 2015-11-03 18:48:24 +01:00
rte_eth_bond_alb.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_api.c bonding: fix crash when no slave device 2016-03-16 19:05:47 +01:00
rte_eth_bond_args.c bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_pmd.c bonding: do not ignore multicast in mode 4 2016-03-16 19:05:47 +01:00
rte_eth_bond_private.h bonding: remove fake pci interface 2015-11-03 18:48:24 +01:00
rte_eth_bond_version.map bonding: support port hotplug 2015-07-27 19:20:44 +02:00
rte_eth_bond.h bonding: support port hotplug 2015-07-27 19:20:44 +02:00