net/sfc: add missing Rx fini on RSS setup fail path

Fixes: 4ec1fc3ba8 ("net/sfc: add basic stubs for RSS support on driver attach")
Cc: stable@dpdk.org

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
Ivan Malov 2018-04-17 16:18:38 +01:00 committed by Ferruh Yigit
parent 740f5bf176
commit 00b94c1c21

View File

@ -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);