Arnaldo Carvalho de Melo
2ff52f282c
[TCP]: Change tcp_header_len member in tcp_sock to u16
With this we eliminate the last hole in struct tcp_sock.
End result:
[acme@newtoy net-2.6.20]$ codiff -sV /tmp/tcp.o.before net/ipv4/tcp.o
/pub/scm/linux/kernel/git/acme/net-2.6.20/net/ipv4/tcp.c:
struct tcp_sock | -4
tcp_header_len;
from: int /* 1000(0) 4(0) */
to: u16 /* 1000(0) 2(0) */
1 struct changed
[acme@newtoy net-2.6.20]$
Now sizeof(tcp_sock) is just...
[acme@newtoy net-2.6.20]$ pahole --sizes ../OUTPUT/qemu/net-2.6.20/net/ipv4/tcp.o | grep -w tcp_sock
struct tcp_sock: 1500 0
1500 bytes ;-)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
|
2006-12-02 21:30:53 -08:00 |
| .. |
|
acpi
|
|
|
|
asm-alpha
|
[NET]: Alpha checksum annotations and cleanups.
|
2006-12-02 21:23:01 -08:00 |
|
asm-arm
|
[NET]: ARM checksum annotations and cleanups.
|
2006-12-02 21:23:15 -08:00 |
|
asm-arm26
|
[NET]: ARM26 checksum annotations and cleanups.
|
2006-12-02 21:23:16 -08:00 |
|
asm-avr32
|
[NET]: AVR32 checksum annotations and cleanups.
|
2006-12-02 21:23:18 -08:00 |
|
asm-cris
|
[NET]: Cris checksum annotations and cleanups.
|
2006-12-02 21:23:02 -08:00 |
|
asm-frv
|
[NET]: FRV checksum annotations.
|
2006-12-02 21:23:03 -08:00 |
|
asm-generic
|
|
|
|
asm-h8300
|
[NET]: H8300 checksum annotations and cleanups.
|
2006-12-02 21:23:04 -08:00 |
|
asm-i386
|
[NET]: I386 checksum annotations and cleanups.
|
2006-12-02 21:23:19 -08:00 |
|
asm-ia64
|
[NET]: IA64 checksum annotations and cleanups.
|
2006-12-02 21:23:05 -08:00 |
|
asm-m32r
|
[NET]: M32R checksum annotations and cleanups.
|
2006-12-02 21:23:06 -08:00 |
|
asm-m68k
|
[NET]: M68K checksum annotations and cleanups.
|
2006-12-02 21:23:07 -08:00 |
|
asm-m68knommu
|
[NET]: M68Knommu checksum annotations and cleanups.
|
2006-12-02 21:23:08 -08:00 |
|
asm-mips
|
[NET]: MIPS checksum annotations and cleanups.
|
2006-12-02 21:23:09 -08:00 |
|
asm-parisc
|
[NET]: PARISC checksum annotations and cleanups.
|
2006-12-02 21:23:10 -08:00 |
|
asm-powerpc
|
[NET]: POWERPC checksum annotations and cleanups.
|
2006-12-02 21:23:20 -08:00 |
|
asm-ppc
|
|
|
|
asm-s390
|
[NET]: S390 checksum annotations and cleanups.
|
2006-12-02 21:23:21 -08:00 |
|
asm-sh
|
[NET]: SH checksum annotations and cleanups.
|
2006-12-02 21:23:22 -08:00 |
|
asm-sh64
|
[NET]: SH64 checksum annotations and cleanups.
|
2006-12-02 21:23:11 -08:00 |
|
asm-sparc
|
[NET]: SPARC checksum annotations and cleanups.
|
2006-12-02 21:23:22 -08:00 |
|
asm-sparc64
|
[NET]: SPARC64 checksum annotations and cleanups.
|
2006-12-02 21:23:23 -08:00 |
|
asm-um
|
|
|
|
asm-v850
|
[NET]: V850 checksum annotations and cleanups.
|
2006-12-02 21:23:13 -08:00 |
|
asm-x86_64
|
[NET]: X86_64 checksum annotations and cleanups.
|
2006-12-02 21:23:14 -08:00 |
|
asm-xtensa
|
[NET]: XTENSA checksum annotations and cleanups.
|
2006-12-02 21:23:24 -08:00 |
|
crypto
|
|
|
|
keys
|
|
|
|
linux
|
[TCP]: Change tcp_header_len member in tcp_sock to u16
|
2006-12-02 21:30:53 -08:00 |
|
math-emu
|
|
|
|
media
|
|
|
|
mtd
|
|
|
|
net
|
[XFRM]: Pack struct xfrm_policy
|
2006-12-02 21:30:48 -08:00 |
|
pcmcia
|
|
|
|
rdma
|
|
|
|
rxrpc
|
|
|
|
scsi
|
|
|
|
sound
|
|
|
|
video
|
|
|
|
Kbuild
|
|
|