]> 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)
commit75a9ab4dd132ba4839f04606e9951849d808f898
tree3715f6eb8768c5a8ef58dff4524ccfe3d87344d6
parent3d326011f0a8f1746f13d26dbe913ca1e2da3d1b
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