aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-03-21 06:58:03 +0000
committerDavid S. Miller <[email protected]>2012-03-21 16:52:09 -0400
commit2a2a459eeeff48640dc557548ce576d666ab06ed (patch)
tree01d4a817920961ff68d8bfca618d2d62817a4169 /tools
parent3556485f1595e3964ba539e39ea682acbb835cee (diff)
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 <[email protected]> Cc: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions