vmxnet3: fix msix vectors unuse
commitb44672849ad9baaa6734f16bfd7aa0d6b0780065
authorJiri Pirko <jiri@resnulli.us>
Mon, 19 May 2014 13:47:16 +0000 (19 15:47 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 9 Jun 2014 13:38:58 +0000 (9 15:38 +0200)
treede1f96e8172fb93216624adfb9771b81a7b8e629
parent40e76f736d09535bc20e980a06c059229c7b5265
vmxnet3: fix msix vectors unuse

In vmxnet3_cleanup_msix(), there is called msix_vector_unuse() with
VMXNET3_MAX_INTRS. That is not correct since vector of
value VMXNET3_MAX_INTRS was never used. Also all the used vectors
are not un-used. So call vmxnet3_unuse_msix_vectors() instead which
does the correct job.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/vmxnet3.c