]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/xen_skbuff.diff
Imported xen patches.
[people/teissler/ipfire-2.x.git] / src / patches / xen_skbuff.diff
1 --- linux-2.6.27.21/include/linux/skbuff.h 2009-03-29 17:24:56.000000000 +0000
2 +++ linux-2.6.27.8/include/linux/skbuff.h 2009-03-29 17:38:37.000000000 +0000
3 @@ -217,6 +217,8 @@
4 * @local_df: allow local fragmentation
5 * @cloned: Head may be cloned (check refcnt to be sure)
6 * @nohdr: Payload reference only, must not modify header
7 + * @proto_data_valid: Protocol data validated since arriving at localhost
8 + * @proto_csum_blank: Protocol csum must be added before leaving localhost
9 * @pkt_type: Packet class
10 * @fclone: skbuff clone status
11 * @ip_summed: Driver fed us an IP checksum
12 @@ -320,7 +322,11 @@
13 #if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
14 __u8 do_not_encrypt:1;
15 #endif
16 - /* 0/13/14 bit hole */
17 +#ifdef CONFIG_XEN
18 + __u8 proto_data_valid:1,
19 + proto_csum_blank:1;
20 +#endif
21 + /* 10-16 bit hole */
22
23 #ifdef CONFIG_NET_DMA
24 dma_cookie_t dma_cookie;