]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Reconnect stalls for 15s
authorBang Nguyen <bang.nguyen@oracle.com>
Sat, 17 Aug 2013 04:41:25 +0000 (21:41 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 20:59:43 +0000 (13:59 -0700)
commit3e3260f6de6df6e34aa9411cb7f729117374ffae
treed1704f21abe18bc6ef7c7823fb52a70a60b0b0cb
parentea5eabfe6c17a4699dddfd0dbfea60f947b0d030
RDS: Reconnect stalls for 15s

On Switch reboot, both end nodes would try to reconnect at the same time.
This can cause a race b/w the gratuitous ARP and the IP resolution,
resulting in a path to a down port. The CONNECT request sent on this path
is stuck until the 15s timeout at which time the connection is dropped
and re-established.

The fix was to indroduce a reconnect delay b/w the ARP and the reconnect
to minimize the race and avoid the 15s timeout.

Orabug: 17277974

Signed-off-by: Richard Frank <richard.frank@oracle.com>
(cherry picked from commit 72faa77d3d695cbbdddc9d99be6abdfce1187bc6)
net/rds/ib.c
net/rds/ib.h