Skip to content

Commit 8d01726

Browse files
okt-imalovshemminger
authored andcommitted
net/sfc: fix action order on fail path for the adaptor start
Having incorrect order leads to an assert in efx_nic_fini(). Fixes: bc712f1 ("net/sfc: support attaching to HW table") Cc: [email protected] Signed-off-by: Ivan Malov <[email protected]> Reviewed-by: Andy Moreton <[email protected]>
1 parent fd6c69d commit 8d01726

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/sfc/sfc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,12 +530,12 @@ sfc_try_start(struct sfc_adapter *sa)
530530
fail_rx_start:
531531
sfc_port_stop(sa);
532532

533-
fail_tbls_start:
534-
sfc_ev_stop(sa);
535-
536533
fail_port_start:
537534
sfc_tbls_stop(sa);
538535

536+
fail_tbls_start:
537+
sfc_ev_stop(sa);
538+
539539
fail_ev_start:
540540
sfc_intr_stop(sa);
541541

0 commit comments

Comments
 (0)