File kcompat-rhel7.diff of Package ixgbevf216
--- ixgbevf-2.16.4/src/kcompat.h.orig 2015-09-21 23:09:52.000000000 +0000
+++ ixgbevf-2.16.4/src/kcompat.h 2017-02-09 11:00:51.792874793 +0000
@@ -4540,7 +4540,7 @@
#define HAVE_NDO_BRIDGE_GETLINK_NLFLAGS
#endif /* 4,1,0 */
-#if ( LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) )
+#if ( LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) ) && !(RHEL_RELEASE_CODE && (RHEL_RELEASE_CODE > RHEL_RELEASE_VERSION(7,2)))
#if (!(SLE_VERSION_CODE && SLE_VERSION_CODE >= SLE_VERSION(12,1,0)))
static inline bool page_is_pfmemalloc(struct page __maybe_unused *page)
{