Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 06:49:11 +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-11@freebsd.org
Subject:   svn commit: r342411 - stable/11/sys/dev/sfxge/common
Message-ID:  <201812250649.wBP6nBGY023272@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Tue Dec 25 06:49:10 2018
New Revision: 342411
URL: https://svnweb.freebsd.org/changeset/base/342411

Log:
  MFC 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/11/sys/dev/sfxge/common/ef10_tx.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sfxge/common/ef10_tx.c
==============================================================================
--- stable/11/sys/dev/sfxge/common/ef10_tx.c	Tue Dec 25 06:48:04 2018	(r342410)
+++ stable/11/sys/dev/sfxge/common/ef10_tx.c	Tue Dec 25 06:49:10 2018	(r342411)
@@ -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);
 



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