]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: add APIs for manipulating skb page fragments.
authorIan Campbell <Ian.Campbell@citrix.com>
Fri, 19 Aug 2011 06:25:00 +0000 (06:25 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 08:31:41 +0000 (16:31 +0800)
commitefd9693ad3e19634b2a23111ed518ab09ec0a76a
treed1cf3db0b5a0ffd6bb1913fbc0468334a6e60dc0
parentbeb075635fc8aa260bc23bf17839207704f5756a
net: add APIs for manipulating skb page fragments.

The primary aim is to add skb_frag_(ref|unref) in order to remove the use of
bare get/put_page on SKB pages fragments and to isolate users from subsequent
changes to the skb_frag_t data structure.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 131ea6675c761f655d43b808dd0fe83d15d5cdd3)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
include/linux/skbuff.h