From 39e8d3e10cb1f0fb9402f60fe41fc0e34ab11353 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 29 Jul 2004 03:34:40 -0700 Subject: [PATCH] [NET]: Decrease skb->cb[] to 40 bytes. No control block usage, even on 64-bit, needs the full current 48 bytes. This brings sk_buff size down to 256 bytes on 64-bit platforms and fixes some performance regressions due to the addition of the input_dev member. Signed-off-by: David S. Miller --- 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 3d0ba45fa88d2..11f514844817d 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -233,7 +233,7 @@ struct sk_buff { * want to keep them across layers you have to do a skb_clone() * first. This is owned by whoever has the skb queued ATM. */ - char cb[48]; + char cb[40]; unsigned int len, data_len, -- 2.53.0