diff options
author | Eric Garver <e@erig.me> | 2017-12-20 15:09:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-21 13:02:08 -0500 |
commit | c48e74736fccf25fb32bb015426359e1c2016e3b (patch) | |
tree | 6b0113d226e2a59bb9c9316e659234a0d13dace6 /lib/ucmpdi2.c | |
parent | 58acfd714e6b02e8617448b431c2b64a2f1f0792 (diff) | |
download | linux-c48e74736fccf25fb32bb015426359e1c2016e3b.tar.gz linux-c48e74736fccf25fb32bb015426359e1c2016e3b.tar.bz2 linux-c48e74736fccf25fb32bb015426359e1c2016e3b.zip |
openvswitch: Fix pop_vlan action for double tagged frames
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 <e@erig.me>
Reviewed-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ucmpdi2.c')
0 files changed, 0 insertions, 0 deletions