From: Eric Dumazet Date: Tue, 18 Oct 2011 21:00:24 +0000 (+0000) Subject: net: add skb frag size accessors X-Git-Url: https://bbs.cooldavid.org/git/?p=jme.git;a=commitdiff_plain;h=0da918aaf383d552992c6389601956ef1ddb9d05;hp=0da918aaf383d552992c6389601956ef1ddb9d05 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 Signed-off-by: David S. Miller ---