diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2135,7 +2135,7 @@ { unsigned int i; - for (i = 0; i < dev->num_tx_queues; i++) + for (i = 0; i < dev->real_num_tx_queues; i++) f(dev, &dev->_tx[i], arg); }