net/failsafe: fix adding MAC error report miss
authorMatan Azrad <matan@mellanox.com>
Sun, 3 Sep 2017 15:26:45 +0000 (18:26 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commitae7cb246d159eb9eb67d931267dc0d399864ab26
tree56790798a04ba841461477bb42c07532adbd671a
parentbe65fdcbfb29765e1c54865b753cc17b2c1ba078
net/failsafe: fix adding MAC error report miss

The corrupted code don't reply error in case of MAC
address adding failure while failsafe PMD was trying
to apply configuration to the sub device.

Hence, the application may get unwanted packets.

The fix adds error report for this case.

Fixes: ebea83f899d8 ("net/failsafe: add plug-in support")
Cc: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_ether.c