From: VMware, Inc <> Date: Sat, 28 May 2011 20:06:53 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2011.05.27-420096~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f12645e8ccd97a7e5ea83b81dba1bfb088894d21;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/modules/linux/shared/compat_netdevice.h b/open-vm-tools/modules/linux/shared/compat_netdevice.h index 715c91f48..86b4659f4 100644 --- a/open-vm-tools/modules/linux/shared/compat_netdevice.h +++ b/open-vm-tools/modules/linux/shared/compat_netdevice.h @@ -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)