[PATCH] backports: define NETIF_F_CSUM_MASK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This backports:

commit a188222b6ed29404ac2d4232d35d1fe0e77af370
Author: Tom Herbert <tom@xxxxxxxxxxxxxxx>
Date:   Mon Dec 14 11:19:43 2015 -0800

    net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
---
 backport/backport-include/linux/netdevice.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h
index 66405df..b9eb9c6 100644
--- a/backport/backport-include/linux/netdevice.h
+++ b/backport/backport-include/linux/netdevice.h
@@ -322,4 +322,8 @@ static inline void netif_tx_napi_add(struct net_device *dev,
 }
 #endif /* < 4.5 */
 
+#ifndef NETIF_F_CSUM_MASK
+#define NETIF_F_CSUM_MASK (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM)
+#endif
+
 #endif /* __BACKPORT_NETDEVICE_H */
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux