]> Git Repo - linux.git/commit
syncookies: remove last_synq_overflow from struct tcp_sock
authorFlorian Westphal <[email protected]>
Sun, 19 Apr 2009 09:43:48 +0000 (09:43 +0000)
committerDavid S. Miller <[email protected]>
Mon, 20 Apr 2009 09:25:26 +0000 (02:25 -0700)
commita0f82f64e26929776c58a5c93c2ecb38e3d82815
tree8c39812fc6fc8133cc28944e38b44c941d8fa3ce
parent7eebb0b28f755e297d355a205bb04945b256db6b
syncookies: remove last_synq_overflow from struct tcp_sock

last_synq_overflow eats 4 or 8 bytes in struct tcp_sock, even
though it is only used when a listening sockets syn queue
is full.

We can (ab)use rx_opt.ts_recent_stamp to store the same information;
it is not used otherwise as long as a socket is in listen state.

Move linger2 around to avoid splitting struct mtu_probe
across cacheline boundary on 32 bit arches.

Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/tcp.h
include/net/tcp.h
net/ipv4/syncookies.c
net/ipv6/syncookies.c
This page took 0.058225 seconds and 4 git commands to generate.