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 22:42:48 +0000 (15:42 -0700)
commit48ae8a45e24292fe3f6da9975314ca34ae334e02
tree5f5a62d5650af9094d42dd6a729256ff4e201ee7
parentd720ee298ff7ef1495e6f39cd751dd4bab1be85d
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