datapath: gre: Reset fix_segment pointer.
authorPravin B Shelar <pshelar@nicira.com>
Sat, 2 May 2015 00:30:44 +0000 (17:30 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Sat, 2 May 2015 02:01:18 +0000 (19:01 -0700)
commit9b928914480271f91a64d78e0e8d812060f3d455
tree00bf3718eb94ce09e5a69dfcd91cbc2336a972f6
parent0890056e596ac1d1d972ea3e7ad867fa76ffb875
datapath: gre: Reset fix_segment pointer.

For kernel version 3.12 to 3.18, GRE uses compat code to
transmit packets which used fix_segment to segment packets.
but ovs_gso_cb->fix_segment is not initialized for GRE tunnels.
Following patches fixes it by resetting fix_segment.

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