datapath: supply a dummy err_handler of gre_cisco_protocol to prevent kernel crash
[sliver-openvswitch.git] / datapath / linux / compat / include / net / gre.h
index 6268655..dc03535 100644 (file)
@@ -17,6 +17,8 @@
 
 struct gre_cisco_protocol {
        int (*handler)(struct sk_buff *skb, const struct tnl_ptk_info *tpi);
+       int (*err_handler)(struct sk_buff *skb, u32 info,
+                          const struct tnl_ptk_info *tpi);
        u8 priority;
 };