]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: Fix one-sided connect
authorHåkon Bugge <haakon.bugge@oracle.com>
Thu, 7 Mar 2019 11:39:22 +0000 (12:39 +0100)
committerBrian Maly <brian.maly@oracle.com>
Tue, 21 May 2019 22:00:26 +0000 (18:00 -0400)
commitf1e3a7b192da42bb2e2815e5eef2cd1e2c658cb2
treea00225749f3dd6408d9b12d61532db6ba4d1189d
parent39216a82c651538e16f1e153a3192783e1be08f4
rds: Fix one-sided connect

The decision to designate a peer to be the active side did not take
loopback connections into account. Further, a bug in
rds_shutdown_worker where the passive side, in case of no reconnect
racing, did not attempt to restart the connection.

Orabug: 29391909

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Tested-by: Rosa Lopez <rosa.lopez@oracle.com>
Reviewed-by: Dag Moxnes <dag.moxnes@oracle.com>
---

v1 -> v2:
   * Incorporated review comments from Dag
   * Split the commit in two

Signed-off-by: Brian Maly <brian.maly@oracle.com>
net/rds/ib_cm.c
net/rds/rdma_transport.c
net/rds/threads.c