]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
RDS: RDS reconnect stalls
authorBang Nguyen <bang.nguyen@oracle.com>
Thu, 15 Aug 2013 02:10:00 +0000 (19:10 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 20:59:40 +0000 (13:59 -0700)
After successfully negiotiating the version at lower protocol, RDS incorrectly
set the proposed version to the higher protocol, causing the subsequent
reconnect to stall.

The fix was not to change the proposed version after the initial connection
setup.

Orabug: 1731355

Signed-off-by: Richard Frank <richard.frank@oracle.com>
(cherry picked from commit 1a14dda0d3d3195306f3a141227eb003e895fb58)

net/rds/ib_cm.c

index ccb5d7f1791c2e55c885fb737db2c7f4429a14c7..2982161177f412071bdf495cae51b998f21e4464 100644 (file)
@@ -158,8 +158,6 @@ void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_even
                                RDS_PROTOCOL_MINOR(conn->c_version));
                        rds_conn_destroy(conn);
                        return;
-               } else {
-                       conn->c_proposed_version = RDS_PROTOCOL_VERSION;
                }
        }