netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: vlan: fix comment for vlan_ethhdr->h_vlan_proto
@ 2013-06-14 15:07 Olaf Hering
  2013-06-20  6:17 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2013-06-14 15:07 UTC (permalink / raw)
  To: Patrick McHardy, netdev; +Cc: Olaf Hering

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(-)

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
  */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: vlan: fix comment for vlan_ethhdr->h_vlan_proto
  2013-06-14 15:07 [PATCH] net: vlan: fix comment for vlan_ethhdr->h_vlan_proto Olaf Hering
@ 2013-06-20  6:17 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-06-20  6:17 UTC (permalink / raw)
  To: olaf; +Cc: kaber, netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-20  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 15:07 [PATCH] net: vlan: fix comment for vlan_ethhdr->h_vlan_proto Olaf Hering
2013-06-20  6:17 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).