Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2019 12:22:48 +0000 (UTC)
From:      Vincenzo Maffione <vmaffione@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: r343659 - stable/12/sys/dev/virtio/network
Message-ID:  <201902011222.x11CMmAv015101@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vmaffione
Date: Fri Feb  1 12:22:48 2019
New Revision: 343659
URL: https://svnweb.freebsd.org/changeset/base/343659

Log:
  MFC r343552
  
  vtnet: fix typo in vtnet_free_taskqueues
  
  Because of a typo, the code was mistakenly resetting the
  vtnrx_vq pointer rather than vtntx_tq.
  
  Reviewed by:    bryanv
  Differential Revision:  https://reviews.freebsd.org/D19015

Modified:
  stable/12/sys/dev/virtio/network/if_vtnet.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/virtio/network/if_vtnet.c
==============================================================================
--- stable/12/sys/dev/virtio/network/if_vtnet.c	Fri Feb  1 10:09:54 2019	(r343658)
+++ stable/12/sys/dev/virtio/network/if_vtnet.c	Fri Feb  1 12:22:48 2019	(r343659)
@@ -2748,7 +2748,7 @@ vtnet_free_taskqueues(struct vtnet_softc *sc)
 		rxq = &sc->vtnet_rxqs[i];
 		if (rxq->vtnrx_tq != NULL) {
 			taskqueue_free(rxq->vtnrx_tq);
-			rxq->vtnrx_vq = NULL;
+			rxq->vtnrx_tq = NULL;
 		}
 
 		txq = &sc->vtnet_txqs[i];



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