summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorTobias Klauser2009-07-14 00:48:16 +0200
committerDavid S. Miller2009-07-14 21:03:42 +0200
commit8660c1240ec6016522b882c88751cb4ce40bf0e8 (patch)
tree560b0136efdface63b6c3dc52d5ab7bcf30b4021 /include/linux/skbuff.h
parentdrivers/net: using spin_lock_irqsave() in net_send_packet() (diff)
downloadkernel-qcow2-linux-8660c1240ec6016522b882c88751cb4ce40bf0e8.tar.gz
kernel-qcow2-linux-8660c1240ec6016522b882c88751cb4ce40bf0e8.tar.xz
kernel-qcow2-linux-8660c1240ec6016522b882c88751cb4ce40bf0e8.zip
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/linux/skbuff.h')
-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.
*/