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>
Wed, 22 Feb 2012 18:17:35 +0000 (02:17 +0800)
commit0da918aaf383d552992c6389601956ef1ddb9d05
tree6cea173440557ff2d95ea145f6739dd31aef12dd
parentac49278865595c410537f32240f5c7131379cb38
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