From: Eric Dumazet Date: Wed, 21 Mar 2012 06:58:03 +0000 (+0000) Subject: net: fix napi_reuse_skb() skb reserve X-Git-Tag: v3.4-rc1~115^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a2a459eeeff48640dc557548ce576d666ab06ed;p=pandora-kernel.git net: fix napi_reuse_skb() skb reserve napi->skb is allocated in napi_get_frags() using netdev_alloc_skb_ip_align(), with a reserve of NET_SKB_PAD + NET_IP_ALIGN bytes. However, when such skb is recycled in napi_reuse_skb(), it ends with a reserve of NET_IP_ALIGN which is suboptimal. Signed-off-by: Eric Dumazet Cc: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed