diff options
author | David S. Miller <davem@davemloft.net> | 2013-12-18 00:36:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 00:36:51 -0500 |
commit | a58f7f8a6196f22ed47181512e53329a586f10f8 (patch) | |
tree | 31de8d8010bafd58bade0701fb3f501bd6e4c0a7 /drivers/net/phy/mdio_bus.c | |
parent | 9f605acf50ae31ce3ca5c061c3ce75d255ca1e6d (diff) | |
parent | a0cdfcf39362410d5ea983f4daf67b38de129408 (diff) | |
download | linux-a58f7f8a6196f22ed47181512e53329a586f10f8.tar.bz2 |
Merge branch 'vlan_tpid'
Atzm Watanabe says:
====================
packet: deliver VLAN TPID to userspace
This patchset enables userspace to get VLAN TPID as well as the VLAN TCI.
After the 802.1AD support, userspace packet receivers (packet dumper,
software switch, and the like) need how to know VLAN TPID in order to
reconstruct original tagged frame.
v4: Simply use sizeof(tp_padding) for zeroing the padding bytes,
commented by David Laight.
Use __u16 for tp_vlan_tpid in tpacket_hdr_variant1,
commented by Daniel Borkmann.
v3: Add a definition which indicates whether tp_vlan_tpid is valid.
Explicitly define pad bytes for tpacket{2,3}_hdr and pick the area
for tp_vlan_tpid from the definition. Commented by David Laight.
v2: Add BUILD_BUG_ON() to make current aligned size of
struct tpacket{2,3}_hdr clear. Commented by Ben Hutchings.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
0 files changed, 0 insertions, 0 deletions