sfxge(4): fix failure path in EF10 Tx queue PIO enable

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D18066
This commit is contained in:
arybchik 2018-11-23 07:43:44 +00:00
parent 50624fdbc6
commit 54070c13c2

View File

@ -285,9 +285,9 @@ ef10_tx_qpio_enable(
fail3:
EFSYS_PROBE(fail3);
ef10_nic_pio_free(enp, etp->et_pio_bufnum, etp->et_pio_blknum);
etp->et_pio_size = 0;
fail2:
EFSYS_PROBE(fail2);
etp->et_pio_size = 0;
fail1:
EFSYS_PROBE1(fail1, efx_rc_t, rc);