Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8660c124 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

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: default avatarTobias Klauser <klto@zhaw.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 79fbe134
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1342,7 +1342,7 @@ static inline int skb_network_offset(const struct sk_buff *skb)
 * shifting the start of the packet by 2 bytes. Drivers should do this
 * shifting the start of the packet by 2 bytes. Drivers should do this
 * with:
 * 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
 * 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
 * unaligned. On some architectures the cost of an unaligned DMA is high