commit | ccb7c410ddc054b8c1ae780319bc98ae092d3854 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Dec 01 18:09:13 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 01 18:09:13 2010 -0800 |
tree | 6a363c7232121d2390c091b232ee758fa10e4446 | |
parent | 4399ce402c7c837dec80bf9fb40d079b39b9265a [diff] |
timewait_sock: Create and use getpeer op. The only thing AF-specific about remembering the timestamp for a time-wait TCP socket is getting the peer. Abstract that behind a new timewait_sock_ops vector. Support for real IPV6 sockets is not filled in yet, but curiously this makes timewait recycling start to work for v4-mapped ipv6 sockets. Signed-off-by: David S. Miller <davem@davemloft.net>