Skip to content
Commit ccb7c410 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 4399ce40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment