numam-dpdk/examples/bond
Radu Nicolau 292fdb7602 examples/bond: fix crash when there is no active slave
If bond_ethdev_rx_burst() called more times with no active slaves
the active slave index will point out of bounds, resulting in a
segfault.
The configured slaves needs to be checked, and if none became active
there is no point going further.

Do not start the packet processing threads until all configured
slaves become active.

Fixes: cc7e8ae84f ("examples/bond: add example application for link bonding mode 6")
Cc: stable@dpdk.org

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Chas Williams <chas3@att.com>
2018-12-13 16:32:10 +00:00
..
main.c examples/bond: fix crash when there is no active slave 2018-12-13 16:32:10 +00:00
main.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile ethdev: remove experimental flag of ports enumeration 2018-04-27 18:00:24 +01:00
meson.build fix ethdev ports enumeration 2018-04-18 00:25:27 +02:00