summaryrefslogtreecommitdiff
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-07-19 21:53:14 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-20 08:20:05 +0300
commita5e1ec3833211bc0136649a89ee3a29355c7b43b (patch)
tree352454bd448ffec43b108382eda37270529270bb /drivers/net/hyperv/hyperv_net.h
parent79e8cbe7a789a0863cc6cd874872b4dd63ec5947 (diff)
downloadlinux-a5e1ec3833211bc0136649a89ee3a29355c7b43b.tar.xz
netvsc: change order of steps in setting queues
This fixes the error unwind logic for incorrect number of queues. If netif_set_real_num_XX_queues failed then rndis_filter_device_add would have been called twice. Since input arguments are already ranged checked this is a hypothetical only problem, not possible in actual code. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions