[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100901.105842.26933535.davem@davemloft.net>
Date: Wed, 01 Sep 2010 10:58:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: skbuff.c cleanup
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 01 Sep 2010 17:25:10 +0200
> (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@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists