diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-25 00:15:12 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-25 23:53:03 +0200 |
commit | 2a5c8031977be843b58d285203c11c9a5d01ebc9 (patch) | |
tree | 29206cabbeacc73cbb6ce5f30ce31fc5bdcecc73 | |
parent | ba0cdc6fb4891c9efc91f627698c8203583f0e52 (diff) |
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 <hauke@hauke-m.de>
-rw-r--r-- | backport/backport-include/linux/netdev_features.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backport/backport-include/linux/netdev_features.h b/backport/backport-include/linux/netdev_features.h index 3826e559..ec5b9408 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 */ |