From: Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> Date: Tue, 25 Apr 2017 15:59:17 -0400 > From: Willem de Bruijn <willemb@xxxxxxxxxx> > > As of tx napi, device down (`ip link set dev $dev down`) hangs unless > tx napi is enabled. Else napi_enable is not called, so napi_disable > will spin on test_and_set_bit NAPI_STATE_SCHED. > > Only call napi_disable if tx napi is enabled. > > Fixes: 5a719c2552ca ("virtio-net: transmit napi") > Reported-by: Jason Wang <jasowang@xxxxxxxxxx> > Signed-off-by: Willem de Bruijn <willemb@xxxxxxxxxx> Applied, thanks. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization