]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS-TCP: only initiate reconnect attempt on outgoing TCP socket.
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Mon, 11 May 2015 13:39:04 +0000 (09:39 -0400)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 21:00:19 +0000 (14:00 -0700)
commita9b63e20fa81e369e34eb9b4204e7a741c777e7e
tree271016857938b211ae0118d1482ba886cb8946c5
parent945da834f3bc465cea01c85f26c4e75571270189
RDS-TCP: only initiate reconnect attempt on outgoing TCP socket.

When the peer of an RDS-TCP connection restarts, a reconnect
attempt should only be made from the active side  of the TCP
connection, i.e. the side that has a transient TCP port
number. Do not add the passive side of the TCP connection
to the c_hash_node and thus avoid triggering rds_queue_reconnect()
for passive rds connections.

Orabug: 20930687
Upstream commit-id: c82ac7e69efe6dbe370d6ba84e2666d7692ef1c2

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
net/rds/connection.c