diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-01-30 18:14:50 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-02-22 02:36:50 +0100 |
commit | d4c8a6b93d5df7c9cadb80198951c3d4d2f924c4 (patch) | |
tree | 4ba6f1801dbad80ba393277d4e597d9f788e9135 | |
parent | 2df2cd84909468744ffc153b5b2eee70b384ce3a (diff) |
backports: add IFF_TX_SKB_SHARING
This was introduced on kernel version 3.1, so a kernel (3.0) without
it is still just within the support window. Define this constant if
it isn't defined.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[Move the code to backport/backport-include/linux/netdevice.h, it is
placed there in recent kernel version]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | backport/backport-include/linux/netdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h index 961450a1..27bce84c 100644 --- a/backport/backport-include/linux/netdevice.h +++ b/backport/backport-include/linux/netdevice.h @@ -234,4 +234,8 @@ static inline struct sk_buff *napi_alloc_skb(struct napi_struct *napi, } #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) */ +#ifndef IFF_TX_SKB_SHARING +#define IFF_TX_SKB_SHARING 0 +#endif + #endif /* __BACKPORT_NETDEVICE_H */ |