Skip to content

Commit

Permalink
Merge "modify vr_compat.h to compile on centos 6.5 and later" into R2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Apr 20, 2015
2 parents 0d1e812 + 0fc4a0b commit 930f9fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/vr_compat.h
Expand Up @@ -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
Expand Down Expand Up @@ -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) ||
Expand Down

0 comments on commit 930f9fa

Please sign in to comment.