2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-19 14:37:21 +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:
Pravin B Shelar
2014-09-29 21:39:56 -07:00
parent e15df145f3
commit 705e9260d5
12 changed files with 47 additions and 13 deletions

View File

@@ -49,6 +49,7 @@ skb_zerocopy_headlen(const struct sk_buff *from)
return hlen;
}
#ifndef HAVE_SKB_ZEROCOPY
/**
* skb_zerocopy - Zero copy skb to skb
* @to: destination buffer
@@ -122,3 +123,4 @@ skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen)
return 0;
}
#endif
#endif