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
..
2006-12-01 14:52:01 -08:00
2006-12-02 21:23:01 -08:00
2006-12-02 21:23:15 -08:00
2006-12-02 21:23:16 -08:00
2006-12-02 21:23:18 -08:00
2006-12-02 21:23:02 -08:00
2006-12-02 21:23:03 -08:00
2006-12-01 14:52:01 -08:00
2006-12-02 21:23:04 -08:00
2006-12-02 21:23:19 -08:00
2006-12-02 21:23:05 -08:00
2006-12-02 21:23:06 -08:00
2006-12-02 21:23:07 -08:00
2006-12-02 21:23:08 -08:00
2006-12-02 21:23:09 -08:00
2006-12-02 21:23:10 -08:00
2006-12-02 21:23:20 -08:00
2006-12-01 14:52:01 -08:00
2006-12-02 21:23:21 -08:00
2006-12-02 21:23:22 -08:00
2006-12-02 21:23:11 -08:00
2006-12-02 21:23:22 -08:00
2006-12-02 21:23:23 -08:00
2006-12-01 14:52:01 -08:00
2006-12-02 21:23:13 -08:00
2006-12-02 21:23:14 -08:00
2006-12-02 21:23:24 -08:00
2006-12-02 21:30:53 -08:00
2006-12-02 21:30:48 -08:00
2006-11-29 15:33:10 -08:00
2006-11-28 17:26:50 -08:00
2006-12-01 14:52:01 -08:00