From 2a5c8031977be843b58d285203c11c9a5d01ebc9 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 25 Oct 2013 00:15:12 +0200 Subject: [PATCH] backports: add NETIF_F_RXFCS and NETIF_F_RXALL When these are set to 0 on kernels where they are not supported it should result in them not being used at all. Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/netdev_features.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backport/backport-include/linux/netdev_features.h b/backport/backport-include/linux/netdev_features.h index 3826e559903e..ec5b940852ee 100644 --- a/backport/backport-include/linux/netdev_features.h +++ b/backport/backport-include/linux/netdev_features.h @@ -39,4 +39,12 @@ typedef u32 netdev_features_t; #define NETIF_F_RXCSUM 0 #endif +#if !defined(NETIF_F_RXALL) +#define NETIF_F_RXALL 0 +#endif + +#if !defined(NETIF_F_RXFCS) +#define NETIF_F_RXFCS 0 +#endif + #endif /* __BACKPORT_NETDEV_FEATURES_H */ -- 2.30.2