virtio_net: fix a typo in virtnet_alloc_queues()
authorAmerigo Wang <amwang@redhat.com>
Mon, 10 Dec 2012 02:24:08 +0000 (02:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Dec 2012 18:46:28 +0000 (13:46 -0500)
commit008d4278072216bd2459a6e41b07b688fe95ee83
tree87b27dd47918bc96e2dc0803a7640a822a827f46
parent2062cc20d0a8e370163efccbee555347e17100c0
virtio_net: fix a typo in virtnet_alloc_queues()

Obviously it should check !vi->rq.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c