diff options
Diffstat (limited to 'backport/backport-include/linux/skbuff.h')
| -rw-r--r-- | backport/backport-include/linux/skbuff.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h index 43d33ca6..7d04b542 100644 --- a/backport/backport-include/linux/skbuff.h +++ b/backport/backport-include/linux/skbuff.h @@ -224,4 +224,13 @@ static inline void skb_queue_splice_tail(const struct sk_buff_head *list,  		     skb = skb->next)  #endif /* < 2.6.28 */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) +#ifndef NETDEV_FRAG_PAGE_MAX_ORDER +#define NETDEV_FRAG_PAGE_MAX_ORDER get_order(32768) +#endif +#ifndef NETDEV_FRAG_PAGE_MAX_SIZE +#define NETDEV_FRAG_PAGE_MAX_SIZE  (PAGE_SIZE << NETDEV_FRAG_PAGE_MAX_ORDER) +#endif +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) */ +  #endif /* __BACKPORT_SKBUFF_H */ | 
