numam-dpdk/drivers/net/failsafe
Matan Azrad 602c5623c8 net/failsafe: fix duplicate event registration
When the fail-safe device is reconfigured, it attempts to register
again for the sub-devices LSC and RMV events.

Prevent an event registration if it is already done.

Fixes: 598fb8aec6 ("net/failsafe: support device removal")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2018-05-23 00:35:01 +02:00
..
failsafe_args.c devargs: use proper namespace prefix 2018-04-25 04:00:22 +02:00
failsafe_eal.c net/failsafe: fix sub-device ownership race 2018-05-14 22:31:53 +01:00
failsafe_ether.c net/failsafe: fix removed sub-device cleanup 2018-05-23 00:35:01 +02:00
failsafe_flow.c ethdev: add shared counter to flow API 2018-04-27 18:00:57 +01:00
failsafe_intr.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
failsafe_ops.c net/failsafe: fix duplicate event registration 2018-05-23 00:35:01 +02:00
failsafe_private.h net/failsafe: fix removed sub-device cleanup 2018-05-23 00:35:01 +02:00
failsafe_rxtx.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
failsafe.c net/failsafe: fix sub-device ownership race 2018-05-14 22:31:53 +01:00
Makefile net/failsafe: fix hotplug races 2018-02-13 18:17:30 +01:00
rte_pmd_failsafe_version.map