• D
    timewait_sock: Create and use getpeer op. · ccb7c410
    David S. Miller 提交于
    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: NDavid S. Miller <davem@davemloft.net>
    ccb7c410
tcp_ipv4.c 65.6 KB