[SK_BUFF]: Convert skb->end to sk_buff_data_t

Now to convert the last one, skb->data, that will allow many simplifications
and removal of some of the offset helpers.

Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-04-19 20:43:29 -07:00 • committed by David S. Miller
commit 4305b54135
15 changed files with 101 additions and 56 deletions

View file

@ -785,7 +785,7 @@ static inline struct sk_buff *netlink_trim(struct sk_buff *skb,
skb_orphan(skb);
delta = skb->end - skb_tail_pointer(skb);
delta = skb->end - skb->tail;
if (delta * 2 < skb->truesize)
return skb;