summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2009-07-14 02:48:16 +0400
committerDavid S. Miller <davem@davemloft.net>2009-07-14 23:03:42 +0400
commit8660c1240ec6016522b882c88751cb4ce40bf0e8 (patch)
tree560b0136efdface63b6c3dc52d5ab7bcf30b4021 /include
parent79fbe134832ebb70a49d8802cfeb2401dc35bb38 (diff)
downloadlinux-8660c1240ec6016522b882c88751cb4ce40bf0e8.tar.xz
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 <klto@zhaw.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index b47b3f039d14..f2c69a2cca17 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.
*/