diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-01 05:25:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-01 17:57:55 (GMT) |
commit | 6602cebb5bcac1fccf2850541f8bf9fcc8c86dee (patch) | |
tree | f3fb30ed089106bf9a5f209edc7b1f9be1338571 /net/key/Makefile | |
parent | 86cac58b71227cc34a3d0e78f19585c0eff49ea3 (diff) | |
download | linux-fsl-qoriq-6602cebb5bcac1fccf2850541f8bf9fcc8c86dee.tar.xz |
net: skbuff.c cleanup
(skb->data - skb->head) can be changed by skb_headroom(skb)
Remove some uses of NET_SKBUFF_DATA_USES_OFFSET, using
(skb_end_pointer(skb) - skb->head) or
(skb_tail_pointer(skb) - skb->head) : compiler does the right thing,
and this is more readable for us ;)
(struct skb_shared_info *) casts in pskb_expand_head() to help memcpy()
to use aligned moves.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key/Makefile')
0 files changed, 0 insertions, 0 deletions