From: Tobias Klauser Date: Mon, 13 Jul 2009 22:48:16 +0000 (+0000) Subject: skbuff.h: Fix comment for NET_IP_ALIGN X-Git-Tag: v2.6.31-rc4~55^2~1 X-Git-Url: http://bbs.cooldavid.org/git/?a=commitdiff_plain;h=8660c1240ec6016522b882c88751cb4ce40bf0e8;p=net-next-2.6.git skbuff.h: Fix comment for NET_IP_ALIGN Use the correct function call for skb_reserve in the comment for NET_IP_ALIGN. Signed-off-by: Tobias Klauser Signed-off-by: David S. Miller --- diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index b47b3f039d1..f2c69a2cca1 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1342,12 +1342,12 @@ static inline int skb_network_offset(const struct sk_buff *skb) * shifting the start of the packet by 2 bytes. Drivers should do this * with: * - * skb_reserve(NET_IP_ALIGN); + * skb_reserve(skb, NET_IP_ALIGN); * * The downside to this alignment of the IP header is that the DMA is now * unaligned. On some architectures the cost of an unaligned DMA is high * and this cost outweighs the gains made by aligning the IP header. - * + * * Since this trade off varies between architectures, we allow NET_IP_ALIGN * to be overridden. */