datapath: Fix vxlan gso with vlan.
authorPravin B Shelar <pshelar@nicira.com>
Tue, 1 Oct 2013 15:24:55 +0000 (08:24 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 30 Sep 2013 02:47:15 +0000 (19:47 -0700)
commit831c0a1f3500135737f0631ef3cfa0425142f925
treeb7a66bd6269fdeb216dc49ec54a7e1696768ec89
parent778868f48c118d7968a415dbb699684023576422
datapath: Fix vxlan gso with vlan.

To use ovs-gso-compatibility we need to record inner skb offset.
In case of vxlan it is done before vlan header is pushed which
gives wrong inner packet to ovs-gso.
Following patch reset skb offsets after inner skb is completely built.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/vxlan.c