]> bbs.cooldavid.org Git - jme.git/commit
net: add skb frag size accessors
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 18 Oct 2011 21:00:24 +0000 (21:00 +0000)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Fri, 24 Feb 2012 02:38:59 +0000 (10:38 +0800)
commita2f95d8127f356665e029b054b27a51698b2b6de
tree48e5f639bed9b0fcc731ba84a199d2b44fa58407
parent3e1c0c5754540dae0ae607844bf4f07a990647f0
net: add skb frag size accessors

To ease skb->truesize sanitization, its better to be able to localize
all references to skb frags size.

Define accessors : skb_frag_size() to fetch frag size, and
skb_frag_size_{set|add|sub}() to manipulate it.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
jme.c