datapath: supply a dummy err_handler of gre_cisco_protocol to prevent kernel crash
[cascardo/ovs.git] / datapath / linux / compat / include / net / gre.h
index a6f29c4..0f7c249 100644 (file)
@@ -16,6 +16,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;
 };