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:
@@ -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
|
||||
|
Reference in New Issue
Block a user