File kcompat-rhel6.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-09-25 08:46:56.522434854 +0000
@@ -341,6 +341,9 @@
 #define vlan_tx_tag_present(_skb) 0
 #define vlan_tx_tag_get(_skb) 0
 #endif /* NETIF_F_HW_VLAN_TX && NETIF_F_HW_VLAN_CTAG_TX */
+#if !defined(NETIF_F_HW_VLAN_CTAG_TX) && !defined(vlan_tx_tag_present)
+#define vlan_tx_tag_present(_skb) 0
+#endif
 
 #ifndef VLAN_PRIO_SHIFT
 #define VLAN_PRIO_SHIFT 13
openSUSE Build Service is sponsored by