Date: Fri, 1 Feb 2019 12:24:57 +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-11@freebsd.org Subject: svn commit: r343660 - stable/11/sys/dev/virtio/network Message-ID: <201902011224.x11COvhU015243@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902011224.x11COvhU015243>