Patch1 is a bug fix for correct reconnect when a connection is restarted. Patch 2 accelerates cleanup by setting linger to 1 and sending a RST to the peer.
Sowmini Varadhan (2): rds: tcp: send handshake ping-probe from passive endpoint rds: tcp: set linger to 1 when unloading a rds-tcp net/rds/connection.c | 1 + net/rds/rds.h | 4 +++- net/rds/recv.c | 6 +++--- net/rds/send.c | 14 ++++++-------- net/rds/tcp.h | 1 + net/rds/tcp_connect.c | 2 ++ net/rds/tcp_listen.c | 4 +++- 7 files changed, 19 insertions(+), 13 deletions(-)