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
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D19015
This commit is contained in:
Vincenzo Maffione 2019-01-29 14:31:41 +00:00
parent 7664b71b62
commit 93ef29690e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343552

View File

@ -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];