datapath: gre: Fix kernel 3.11 compatibility.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 20 Nov 2013 17:50:14 +0000 (09:50 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 20 Nov 2013 15:51:57 +0000 (07:51 -0800)
commit9a27329d2ce023e4399fdffe44cd49e0309dbfb5
tree4e78837fc371ce94bac3b839c1385e0751348c2d
parentb2a0daa5bdbb4594d778a6feb9a108128428142c
datapath: gre: Fix kernel 3.11 compatibility.

On 3.11 kernel, gre module exports IP_GRE demux API, ovs needs
to use it to register for GRE protocol handler.

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