From 00b94c1c21d4e8300c51acdd5a0e43bed4552bae Mon Sep 17 00:00:00 2001 From: Ivan Malov Date: Tue, 17 Apr 2018 16:18:38 +0100 Subject: [PATCH] net/sfc: add missing Rx fini on RSS setup fail path Fixes: 4ec1fc3ba881 ("net/sfc: add basic stubs for RSS support on driver attach") Cc: stable@dpdk.org Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/sfc/sfc.c b/drivers/net/sfc/sfc.c index 716683b8f5..dcf5eb866c 100644 --- a/drivers/net/sfc/sfc.c +++ b/drivers/net/sfc/sfc.c @@ -677,6 +677,8 @@ sfc_set_rss_defaults(struct sfc_adapter *sa) fail_hash_support_get: fail_scale_support_get: + efx_rx_fini(sa->nic); + fail_rx_init: efx_ev_fini(sa->nic); -- 2.20.1