mirror of
https://github.com/openvswitch/ovs
synced 2025-10-21 14:49:41 +00:00
datapath: Add support for RHEL-7 / CentOS-7 kernel.
This patch mostly is related to tunnel API where RHEL 7 kernel API are not in-sync with newer linux kernel API. So extra checks are required to check for parameters of API. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jiri Benc <jbenc@redhat.com>
This commit is contained in:
@@ -268,6 +268,8 @@ int gre_cisco_unregister(struct gre_cisco_protocol *proto)
|
||||
|
||||
#endif /* !HAVE_GRE_CISCO_REGISTER */
|
||||
|
||||
#ifndef GRE_USE_KERNEL_GRE_HANDLE_OFFLOADS
|
||||
|
||||
/* GRE TX side. */
|
||||
static void gre_csum_fix(struct sk_buff *skb)
|
||||
{
|
||||
@@ -343,6 +345,7 @@ void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_NET_IPGRE_DEMUX */
|
||||
|
||||
|
Reference in New Issue
Block a user