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:
parent
1c706e31a4
commit
d5ce36fb53
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user