diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index b2c41d19735cc9bd539b0a3f4dd20c5dfb9d3a2f..0b53c43ac92e0a2db2d202ba28071989332eff4c 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -129,8 +129,13 @@ typedef struct skb_frag_struct skb_frag_t; struct skb_frag_struct { struct page *page; +#if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536) __u32 page_offset; __u32 size; +#else + __u16 page_offset; + __u16 size; +#endif }; #define HAVE_HW_TIME_STAMP