Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 15:06:54 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342312 - stable/12/sys/dev/sfxge/common
Message-ID:  <201812211506.wBLF6sSN036286@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Fri Dec 21 15:06:54 2018
New Revision: 342312
URL: https://svnweb.freebsd.org/changeset/base/342312

Log:
  r340796
  
  sfxge(4): fix failure path in EF10 Tx queue PIO enable
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18066

Modified:
  stable/12/sys/dev/sfxge/common/ef10_tx.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sfxge/common/ef10_tx.c
==============================================================================
--- stable/12/sys/dev/sfxge/common/ef10_tx.c	Fri Dec 21 15:05:56 2018	(r342311)
+++ stable/12/sys/dev/sfxge/common/ef10_tx.c	Fri Dec 21 15:06:54 2018	(r342312)
@@ -290,9 +290,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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812211506.wBLF6sSN036286>