Skip to content

Commit

Permalink
net: vlan: fix comment for vlan_ethhdr->h_vlan_proto
Browse files Browse the repository at this point in the history
After addition of 8021AD h_vlan_proto can be either ETH_P_8021Q or
ETH_P_8021AD.

Signed-off-by: Olaf Hering <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
olafhering authored and davem330 committed Jun 20, 2013
1 parent a881ae1 commit a7bf580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/if_vlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct vlan_hdr {
* struct vlan_ethhdr - vlan ethernet header (ethhdr + vlan_hdr)
* @h_dest: destination ethernet address
* @h_source: source ethernet address
* @h_vlan_proto: ethernet protocol (always 0x8100)
* @h_vlan_proto: ethernet protocol
* @h_vlan_TCI: priority and VLAN ID
* @h_vlan_encapsulated_proto: packet type ID or len
*/
Expand Down

0 comments on commit a7bf580

Please sign in to comment.