d87160acfb894ef12dfde02fa6aa3af54f5ebc94
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.29 / 205-skb_padding.patch
1 --- a/include/linux/skbuff.h
2 +++ b/include/linux/skbuff.h
3 @@ -1292,9 +1292,12 @@ static inline int skb_network_offset(con
4   *
5   * Various parts of the networking layer expect at least 16 bytes of
6   * headroom, you should not reduce this.
7 + *
8 + * This has been changed to 64 to acommodate for routing between ethernet
9 + * and wireless
10   */
11  #ifndef NET_SKB_PAD
12 -#define NET_SKB_PAD    16
13 +#define NET_SKB_PAD    64
14  #endif
15  
16  extern int ___pskb_trim(struct sk_buff *skb, unsigned int len);