diff options
| author | 2017-07-19 11:53:14 -0700 | |
|---|---|---|
| committer | 2017-07-19 22:20:05 -0700 | |
| commit | a5e1ec3833211bc0136649a89ee3a29355c7b43b (patch) | |
| tree | 352454bd448ffec43b108382eda37270529270bb /drivers/net/hyperv/hyperv_net.h | |
| parent | netvsc: add some rtnl_dereference annotations (diff) | |
| download | linux-dev-a5e1ec3833211bc0136649a89ee3a29355c7b43b.tar.xz linux-dev-a5e1ec3833211bc0136649a89ee3a29355c7b43b.zip | |
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
