public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: flow_dissector: add 802.1ad support
@ 2013-08-06 11:35 Eric Dumazet
  2013-08-09 18:06 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2013-08-06 11:35 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

From: Eric Dumazet <edumazet@google.com>

Same behavior than 802.1q : finds the encapsulated protocol and
skip 32bit header.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 net/core/flow_dissector.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index ade9ff1..159737c 100644
--- a/net/core/flow_dissector.c
+++ b/net/core/flow_dissector.c
@@ -65,6 +65,7 @@ ipv6:
 		nhoff += sizeof(struct ipv6hdr);
 		break;
 	}
+	case __constant_htons(ETH_P_8021AD):
 	case __constant_htons(ETH_P_8021Q): {
 		const struct vlan_hdr *vlan;
 		struct vlan_hdr _vlan;

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

* Re: [PATCH] net: flow_dissector: add 802.1ad support
  2013-08-06 11:35 [PATCH] net: flow_dissector: add 802.1ad support Eric Dumazet
@ 2013-08-09 18:06 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-08-09 18:06 UTC (permalink / raw)
  To: eric.dumazet; +Cc: netdev

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 06 Aug 2013 04:35:06 -0700

> From: Eric Dumazet <edumazet@google.com>
> 
> Same behavior than 802.1q : finds the encapsulated protocol and
> skip 32bit header.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied, thanks Eric.

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

end of thread, other threads:[~2013-08-09 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 11:35 [PATCH] net: flow_dissector: add 802.1ad support Eric Dumazet
2013-08-09 18:06 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox