virtio_net: don't reset twice on XDP on/off
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 29 Mar 2017 20:12:23 +0000 (23:12 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 May 2017 13:43:22 +0000 (16:43 +0300)
commit5f24df0945b3ce3be71602c2655f689d42a24181
tree357a5ac18baa9e489aaa906037dc43a7c0690ef7
parentd85b758f72b05a774045545f24d70980e3e9aac4
virtio_net: don't reset twice on XDP on/off

We already do a reset once in remove_vq_common -
there appears to be no point in doing another one
when we add/remove XDP.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/virtio_net.c