]> git.baikalelectronics.ru Git - kernel.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)
commit5f0d15abf1715de1d96f84b8bae19ca11a7aea4f
tree3715f6eb8768c5a8ef58dff4524ccfe3d87344d6
parent649921518ad245923b3f095e881c595c52ce3123
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