Re: [PATCH] net: Add netdev_alloc_skb_ip_align() helper

From: David Miller
Date: Thu Oct 08 2009 - 01:41:24 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Thu, 08 Oct 2009 05:11:23 +0200

> David, maybe we should add following helper :
>
> [PATCH] net: Add netdev_alloc_skb_ip_align() helper
>
> Instead of hardcoding NET_IP_ALIGN stuff in various network drivers, we can
> add a helper around netdev_alloc_skb()
>
> Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>

Looks ok, but I want to look at how often this exact sequence
would match. If it applies to a lot of cases, I'll add this
but I know of many exceptions in my head already :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/