aboutsummaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-03-21 06:58:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:53:08 -0700
commit905c221ccf34bd7be7947cab38b2b1296fe9243b (patch)
tree2133b070e7a8a8f381133121e9b74c3b91277209 /net/rds
parentbeadbcb483a11bb6f4964d5525fef22dd573505a (diff)
net: fix napi_reuse_skb() skb reserve
[ Upstream commit 2a2a459eeeff48640dc557548ce576d666ab06ed ] 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 <eric.dumazet@gmail.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions