Skip to content

: VLAN TCI truncation fixes

Patrick McHardy netdev 1 version Applied

Status from this message: Applied, thanks everyone.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 4 repliesApplied

Patches in v1 Applied

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchJeff GarzikJeff Kirsher
SeriesA-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/06]: VLAN TCI truncation fixes

These patches fix all drivers supporting VLAN header stripping to pass the complete VLAN TCI to vlan_hwaccel_{rx,receive_skb} instead of just the VID. The upper three bits contain the priority and are used for ingress priority mappings.

The e1000 patch is runtime tested, the others only compile tested.

drivers/net/e1000/e1000_main.c |   12 ++++--------
drivers/net/e1000e/netdev.c    |    3 +--
drivers/net/igb/igb_main.c     |    3 +--
drivers/net/ixgb/ixgb_main.c   |    6 ++----
drivers/net/starfire.c         |    2 +-
drivers/net/tehuti.c           |    2 +-
drivers/net/tehuti.h           |    1 +
7 files changed, 11 insertions(+), 18 deletions(-)

Patrick McHardy (6):
e1000: don't truncate VLAN TCI with VLAN stripping
e1000e: don't truncate VLAN TCI with VLAN stripping
igb: don't truncate VLAN TCI with VLAN stripping
ixgb: don't truncate VLAN TCI with VLAN stripping
starfire: don't truncate VLAN TCI with VLAN stripping
tehuti: don't truncate VLAN TCI with VLAN stripping