Re: [PATCH net v3] openvswitch: Fix pop_vlan action for double tagged frames

2017-12-21 Thread David Miller
From: Eric Garver Date: Wed, 20 Dec 2017 15:09:22 -0500 > skb_vlan_pop() expects skb->protocol to be a valid TPID for double > tagged frames. So set skb->protocol to the TPID and let skb_vlan_pop() > shift the true ethertype into position for us. > > Fixes: 5108bbaddc37 ("openvswitch: add proces

Re: [PATCH net v3] openvswitch: Fix pop_vlan action for double tagged frames

2017-12-20 Thread Jiri Benc
On Wed, 20 Dec 2017 15:09:22 -0500, Eric Garver wrote: > skb_vlan_pop() expects skb->protocol to be a valid TPID for double > tagged frames. So set skb->protocol to the TPID and let skb_vlan_pop() > shift the true ethertype into position for us. > > Fixes: 5108bbaddc37 ("openvswitch: add processin

[PATCH net v3] openvswitch: Fix pop_vlan action for double tagged frames

2017-12-20 Thread Eric Garver
skb_vlan_pop() expects skb->protocol to be a valid TPID for double tagged frames. So set skb->protocol to the TPID and let skb_vlan_pop() shift the true ethertype into position for us. Fixes: 5108bbaddc37 ("openvswitch: add processing of L3 packets") Signed-off-by: Eric Garver --- net/openvswitc