Re: [PATCH net] net: fix race on decreasing number of TX queues

2018-02-14 Thread David Miller
From: Jakub Kicinski Date: Mon, 12 Feb 2018 21:35:31 -0800 > netif_set_real_num_tx_queues() can be called when netdev is up. > That usually happens when user requests change of number of > channels/rings with ethtool -L. The procedure for changing > the number of queues involves resetting the qd

[PATCH net] net: fix race on decreasing number of TX queues

2018-02-12 Thread Jakub Kicinski
netif_set_real_num_tx_queues() can be called when netdev is up. That usually happens when user requests change of number of channels/rings with ethtool -L. The procedure for changing the number of queues involves resetting the qdiscs and setting dev->num_tx_queues to the new value. When the new v