Skip to contentSkip to conversation

backports: define NETIF_F_CSUM_MASK

PATCH New Emmanuel Grumbach 1 participant 1 message Jan 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 backports: define NETIF_F_CSUM_MASK

This backports:

commit a188222b6ed29404ac2d4232d35d1fe0e77af370

Author: Tom Herbert <[email protected]>
Date:   Mon Dec 14 11:19:43 2015 -0800

net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK

---
 backport/backport-include/linux/netdevice.h | 4 ++++
 1 file changed, 4 insertions(+)
backport/backport-include/linux/netdevice.h +4 -0
index 66405df..b9eb9c6 100644
@@ -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 */
Signature · 4 lines
2.5.0

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