From: Evgeniy Polyakov <[EMAIL PROTECTED]>
Date: Mon, 14 Aug 2006 15:04:03 +0400

>       /* These elements must be at the end, see alloc_skb() for details.  */
> -     unsigned int            truesize;
> +     unsigned int            truesize, __tsize;

There is no real need for new member.

> -             kfree(skb->head);
> +             avl_free(skb->head, skb->__tsize);

Just use "skb->end - skb->head + sizeof(struct skb_shared_info)"
as the size argument.

Then, there is no reason for skb->__tsize :-)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to