numam-dpdk/drivers/net/bonding
Eric Kinzie 7a7122edf1 bonding: do not activate slave twice
The current code for detecting link during slave addition can cause a
slave interface to be activated twice -- once during slave_configure()
and again at the end of __eth_bond_slave_add_lock_free().  This will
either cause the active slave count to be incorrect or will cause the
802.3ad activation function to panic.  Ensure that the interface is not
activated more than once.

Fixes: 46fb436836 ("bond: add mode 4")

Signed-off-by: Eric Kinzie <ekinzie@brocade.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Declan Doherty <declan.doherty@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: do not activate slave twice 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