netdrv: don't truncate VLAN TCI with VLAN stripping
The vlan_hwaccel_{rx,receive_skb} functions expect the full TCI field for priority mappings, don't truncate the upper 4 bits. Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

orang tua
4b5a698ef4
melakukan
38b221957b
@@ -1165,7 +1165,7 @@ NETIF_RX_MUX(struct bdx_priv *priv, u32 rxd_val1, u16 rxd_vlan,
|
||||
GET_RXD_VLAN_ID(rxd_vlan))->name);
|
||||
/* NAPI variant of receive functions */
|
||||
vlan_hwaccel_receive_skb(skb, priv->vlgrp,
|
||||
GET_RXD_VLAN_ID(rxd_vlan));
|
||||
GET_RXD_VLAN_TCI(rxd_vlan));
|
||||
} else {
|
||||
netif_receive_skb(skb);
|
||||
}
|
||||
|
Reference in New Issue
Block a user