Subject: Re: [patch net-next v4 8/9] net: move vlan pop/push functions into common code

From: Jiri Benc <[email-masked]>
Date: Thu, 4 Dec 2014 17:57:41 +0100

On Wed, 3 Dec 2014 16:33:57 -0800, Pravin Shelar wrote:
> OVS correctly sets mac header length in case of vlan header. Can you
> give me OVS test case to reproduce this issue?

Set up ovs bridge with two ports, one of them tagged. Receive a packet
with two vlan headers (the first vlan tag corresponding to the second
port) on the untagged port.

Tried it just now with the latest net-next with printks added to
__skb_vlan_pop, __skb_vlan_pop is called twice for each packet, the
second invocation has the pointers set in the way I described.

 Jiri

-- 
Jiri Benc