fuel-plugin-contrail/deployment_scripts/puppet/modules/contrail/files/vrouter.patch

23 lines
816 B
Diff

diff --git a/include/vr_compat.h b/include/vr_compat.h
index 998b55f..cd480fe 100644
--- a/include/vr_compat.h
+++ b/include/vr_compat.h
@@ -9,7 +9,7 @@
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0))
#if (! (defined(RHEL_MAJOR) && defined(RHEL_MINOR) && \
- (RHEL_MAJOR == 6) && (RHEL_MINOR == 5)))
+ (RHEL_MAJOR == 6) && (RHEL_MINOR >= 5)))
typedef u64 netdev_features_t;
#endif
#endif
@@ -139,7 +139,7 @@ static inline void skb_reset_mac_len(struct sk_buff *skb)
#ifndef ISRHOSKERNEL
#if (! (defined(RHEL_MAJOR) && defined(RHEL_MINOR) && \
- (RHEL_MAJOR == 6) && (RHEL_MINOR == 5)))
+ (RHEL_MAJOR == 6) && (RHEL_MINOR >= 5)))
static bool can_checksum_protocol(netdev_features_t features, __be16 protocol)
{
return ((features & NETIF_F_GEN_CSUM) ||