commit | 9e903e085262ffbf1fc44a17ac06058aca03524a | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Oct 18 21:00:24 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 19 03:10:46 2011 -0400 |
tree | 4acefc97ba38c1733474d25c0b2053b56af97db1 | |
parent | dd767856a36e00b631d65ebc4bb81b19915532d6 [diff] |
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>