via-rhine: fix VLAN priority field (PCP, IEEE 802.1p)
authorRoger Luethi <rl@hellgate.ch>
Sat, 21 Sep 2013 12:24:11 +0000 (14:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:30 +0000 (16:08 -0700)
commitf7036a444e8a9eb1e41f4e157c8f19b8efbc2cb7
tree0d1f592ab847c20baad62a303fae7f2c16d72ada
parentf5a30bc1d6b338ecba5b948798a48bc5b59ef30f
via-rhine: fix VLAN priority field (PCP, IEEE 802.1p)

[ Upstream commit 207070f5221e2a901d56a49df9cde47d9b716cd7 ]

Outgoing packets sent by via-rhine have their VLAN PCP field off by one
(when hardware acceleration is enabled). The TX descriptor expects only VID
and PCP (without a CFI/DEI bit).

Peter Boström noticed and reported the bug.

Signed-off-by: Roger Luethi <rl@hellgate.ch>
Cc: Peter Boström <peter.bostrom@netrounds.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/via/via-rhine.c