diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2019-01-29 09:45:55 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 14:02:43 -0800 |
commit | 188313c137c4f76afd0862f50dbc185b198b9e2a (patch) | |
tree | ff24345c7eef2ed7e013a1385a7db33744545eb7 /drivers/leds | |
parent | 534da5e856334fb54cb0272a9fb3afec28ea3aed (diff) | |
download | linux-stable-188313c137c4f76afd0862f50dbc185b198b9e2a.tar.gz linux-stable-188313c137c4f76afd0862f50dbc185b198b9e2a.tar.bz2 linux-stable-188313c137c4f76afd0862f50dbc185b198b9e2a.zip |
virtio_net: Fix not restoring real_num_rx_queues
When _virtnet_set_queues() failed we did not restore real_num_rx_queues.
Fix this by placing the change of real_num_rx_queues after
_virtnet_set_queues().
This order is also in line with virtnet_set_channels().
Fixes: 4941d472bf95 ("virtio-net: do not reset during XDP set")
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions