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 <hauke@xxxxxxxxxx> --- 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 3826e55..ec5b940 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 */ -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html