]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vlan: updates vlan real_num_tx_queues
authorVasu Dev <vasu.dev@intel.com>
Tue, 23 Mar 2010 14:42:05 +0000 (14:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2010 18:11:38 +0000 (11:11 -0700)
commitf6b9f4b263f3178fc0f23f0e67d04386528cc727
tree6f749e6baeaf910ff53a9dfa0075dfbd5c856ddd
parent669d3e0babb40018dd6e78f4093c13a2eac73866
vlan: updates vlan real_num_tx_queues

Updates real_num_tx_queues in case underlying real device
has changed real_num_tx_queues.

-v2
 As per Eric Dumazet<eric.dumazet@gmail.com> comment:-
   -- adds BUG_ON to catch case of real_num_tx_queues exceeding num_tx_queues.
   -- created this self contained patch to just update real_num_tx_queues.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c