diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-11-28 00:48:32 -0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:30:53 -0800 |
commit | 2ff52f282cf287d60e9eda1f3b5ec83e00a86130 (patch) | |
tree | 1838d36bbe158bb5e82d7f4b5b699e8b685930e1 /include/asm-ia64/atomic.h | |
parent | 5d0dbc4a9b2d325458dcbf9a8329bd1d2cc7bd7e (diff) | |
download | op-kernel-dev-2ff52f282cf287d60e9eda1f3b5ec83e00a86130.zip op-kernel-dev-2ff52f282cf287d60e9eda1f3b5ec83e00a86130.tar.gz |
[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>
Diffstat (limited to 'include/asm-ia64/atomic.h')
0 files changed, 0 insertions, 0 deletions