diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-03-21 07:58:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-21 21:52:09 +0100 |
commit | 2a2a459eeeff48640dc557548ce576d666ab06ed (patch) | |
tree | 01d4a817920961ff68d8bfca618d2d62817a4169 /kernel/up.c | |
parent | Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/... (diff) | |
download | linux-2a2a459eeeff48640dc557548ce576d666ab06ed.tar.xz linux-2a2a459eeeff48640dc557548ce576d666ab06ed.zip |
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 <eric.dumazet@gmail.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions