net: vlan: fix comment for vlan_ethhdr->h_vlan_proto

Submitted by Olaf Hering on June 14, 2013, 3:07 p.m.

Details

Message ID 1371222421-6397-1-git-send-email-olaf@aepfle.de
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Olaf Hering June 14, 2013, 3:07 p.m.
After addition of 8021AD h_vlan_proto can be either ETH_P_8021Q or
ETH_P_8021AD.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 include/linux/if_vlan.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller June 20, 2013, 6:17 a.m.
From: Olaf Hering <olaf@aepfle.de>
Date: Fri, 14 Jun 2013 17:07:01 +0200

> After addition of 8021AD h_vlan_proto can be either ETH_P_8021Q or
> ETH_P_8021AD.
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index 52bd03b..637fa71d 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
@@ -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
  */