]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Sat, 28 May 2011 20:06:53 +0000 (13:06 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Sat, 28 May 2011 20:06:53 +0000 (13:06 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/modules/linux/shared/compat_netdevice.h

index 715c91f484ddc1934f2a68a471a093cfea128b97..86b4659f4d7591d2e2677a3b44d5012885cf046d 100644 (file)
@@ -327,6 +327,13 @@ static inline int compat_unregister_netdevice_notifier(struct notifier_block *nb
 
 #endif
 
+#ifdef NETIF_F_TSO6
+#  define COMPAT_NETIF_F_TSO (NETIF_F_TSO6 | NETIF_F_TSO)
+#else
+#  define COMPAT_NETIF_F_TSO (NETIF_F_TSO)
+#endif
+
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
 #   define compat_netif_tx_lock(dev) netif_tx_lock(dev)
 #   define compat_netif_tx_unlock(dev) netif_tx_unlock(dev)