]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: Add skb_free_frag to replace use of put_page in freeing skb->head
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Thu, 7 May 2015 04:12:03 +0000 (21:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2015 14:39:26 +0000 (10:39 -0400)
commit181edb2bfa22b50817684135ab6430ed2808abf0
tree3715f6eb8768c5a8ef58dff4524ccfe3d87344d6
parentb63ae8ca096dfdbfeef6a209c30a93a966518853
net: Add skb_free_frag to replace use of put_page in freeing skb->head

This change adds a function called skb_free_frag which is meant to
compliment the function netdev_alloc_frag.  The general idea is to enable a
more lightweight version of page freeing since we don't actually need all
the overhead of a put_page, and we don't quite fit the model of __free_pages.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c