-----------------------------------------------------------------
> Also, i am bit confused with this part :
> /* Get the DATA. Size must match skb_add_mtu(). */
> size = SKB_DATA_ALIGN(size);
> data = kmalloc(size + sizeof(struct skb_shared_info),
gfp_mask);
> if (data == NULL)
> goto nodata;
>
> /* XXX: does not include slab overhead */
> skb->truesize = size + sizeof(struct sk_buff);
>
> can anybody explain me please why skb->truesize gets
size+sizeof(struct
> sk_buff) (acording to XXX above it, it is incorrect).
-- Grzegorz Jaskiewicz aka Kain/K4 K4 labs- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/