svn commit: r343660 - stable/11/sys/dev/virtio/network

Vincenzo Maffione vmaffione at FreeBSD.org
Fri Feb 1 12:24:58 UTC 2019


Author: vmaffione
Date: Fri Feb  1 12:24:56 2019
New Revision: 343660
URL: https://svnweb.freebsd.org/changeset/base/343660

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/11/sys/dev/virtio/network/if_vtnet.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/virtio/network/if_vtnet.c
==============================================================================
--- stable/11/sys/dev/virtio/network/if_vtnet.c	Fri Feb  1 12:22:48 2019	(r343659)
+++ stable/11/sys/dev/virtio/network/if_vtnet.c	Fri Feb  1 12:24:56 2019	(r343660)
@@ -2742,7 +2742,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];


More information about the svn-src-all mailing list