inet: Turn ->remember_stamp into ->get_peer in connection AF ops.
Then we can make a completely generic tcp_remember_stamp()
that uses ->get_peer() as a helper, minimizing the AF specific
code and minimizing the eventual code duplication when we implement
the ipv6 side of TW recycling.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_connection_sock.h 1 addition, 1 deletioninclude/net/inet_connection_sock.h
- include/net/tcp.h 1 addition, 1 deletioninclude/net/tcp.h
- net/ipv4/tcp_ipv4.c 8 additions, 27 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_minisocks.c 30 additions, 1 deletionnet/ipv4/tcp_minisocks.c
- net/ipv6/tcp_ipv6.c 4 additions, 4 deletionsnet/ipv6/tcp_ipv6.c
Please register or sign in to comment