vlan: enable multiqueue xmits
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 3 Sep 2009 09:19:58 +0000 (02:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2009 09:19:58 +0000 (02:19 -0700)
commit2f8bc32b7a08502a79e0ccec8697000f2977f2fd
treec08fc64bc8b7cfe5b71d832ca9854f2dc21e6991
parentd1b19dff9159bb88fe839c30a7c071faf4761933
vlan: enable multiqueue xmits

vlan_dev_hard_start_xmit() & vlan_dev_hwaccel_hard_start_xmit()
select txqueue number 0, instead of using index provided by
skb_get_queue_mapping().

This is not correct after commit 2e59af3dcbdf11635c03f
[vlan: multiqueue vlan device] because
txq->tx_packets  & txq->tx_bytes changes are performed on
a single location, and not the right locking.

Fix is to take the appropriate struct netdev_queue pointer

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c