RE: [PATCH net-next 3/8] netvsc: change order of steps in setting queues

2017-07-19 Thread Haiyang Zhang
gt; Cc: de...@linuxdriverproject.org; netdev@vger.kernel.org > Subject: [PATCH net-next 3/8] 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 &g

[PATCH net-next 3/8] netvsc: change order of steps in setting queues

2017-07-19 Thread Stephen Hemminger
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: