net: Add netdev_alloc_skb_ip_align() helper
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 7 Oct 2009 17:11:23 +0000 (17:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 10:44:03 +0000 (03:44 -0700)
commit61321bbd6235ca9a40ba3bc249e8906cc66233c3
tree20f50af5ea5cef41ca28dcc8e79f9a7cc2a52579
parentf373b53b5fe67aa4a6f28f921a529cc90f88e79b
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h