netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] skbuff: size of hole is wrong in a comment
@ 2013-09-30 12:16 Nicolas Dichtel
  2013-10-01  5:32 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Dichtel @ 2013-09-30 12:16 UTC (permalink / raw)
  To: davem; +Cc: netdev, mgorman, Nicolas Dichtel

Since commit c93bdd0e03e8 ("netvm: allow skb allocation to use PFMEMALLOC
reserves"), hole size is one bit less than what is written in the comment.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 include/linux/skbuff.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 2ddb48d9312c..c2d89335f637 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -498,7 +498,7 @@ struct sk_buff {
 	 * headers if needed
 	 */
 	__u8			encapsulation:1;
-	/* 7/9 bit hole (depending on ndisc_nodetype presence) */
+	/* 6/8 bit hole (depending on ndisc_nodetype presence) */
 	kmemcheck_bitfield_end(flags2);
 
 #if defined CONFIG_NET_DMA || defined CONFIG_NET_RX_BUSY_POLL
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] skbuff: size of hole is wrong in a comment
  2013-09-30 12:16 [PATCH net] skbuff: size of hole is wrong in a comment Nicolas Dichtel
@ 2013-10-01  5:32 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-10-01  5:32 UTC (permalink / raw)
  To: nicolas.dichtel; +Cc: netdev, mgorman

From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Mon, 30 Sep 2013 14:16:41 +0200

> Since commit c93bdd0e03e8 ("netvm: allow skb allocation to use PFMEMALLOC
> reserves"), hole size is one bit less than what is written in the comment.
> 
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-01  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 12:16 [PATCH net] skbuff: size of hole is wrong in a comment Nicolas Dichtel
2013-10-01  5:32 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).