diff options
| author | David S. Miller <davem@nuts.davemloft.net> | 2004-07-29 03:34:40 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-07-29 03:34:40 -0700 |
| commit | 39e8d3e10cb1f0fb9402f60fe41fc0e34ab11353 (patch) | |
| tree | 13b69c44fed1292a483757e9be97e8b695da15d5 /include | |
| parent | 423c8e231d6cc665fbc6ecf37894588962294835 (diff) | |
[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 <davem@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/skbuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 3d0ba45fa88d..11f514844817 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, |
