[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140331174656.60f7ce3f@nehalam.linuxnetplumber.net>
Date: Mon, 31 Mar 2014 17:46:56 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Atzm Watanabe <atzm@...atosphere.co.jp>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] vxlan: fix handling of the inner 8021Q tagged
frame
On Mon, 31 Mar 2014 15:56:09 +0900
Atzm Watanabe <atzm@...atosphere.co.jp> wrote:
> + ether_addr_copy(key.eth_addr, eth_hdr(skb)->h_source);
> + if (ntohs(eth_hdr(skb)->h_proto) == ETH_P_8021Q)
> + key.vlan_id = ntohs(vlan_eth_hdr(skb)->h_vlan_TCI) & VLAN_VID_MASK;
> + else
> + key.vlan_id = 0;
> +
What about QinQ vlan's?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists