From: Ivan Malov Date: Tue, 17 Apr 2018 15:18:38 +0000 (+0100) Subject: net/sfc: add missing Rx fini on RSS setup fail path X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=00b94c1c21d4e8300c51acdd5a0e43bed4552bae;p=dpdk.git 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 --- 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);