]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Reconnect causes panic at completion phase
authorBang Nguyen <bang.nguyen@oracle.com>
Thu, 15 Aug 2013 03:03:17 +0000 (20:03 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 20:59:42 +0000 (13:59 -0700)
commitea5eabfe6c17a4699dddfd0dbfea60f947b0d030
tree56a13b139434aaac73695587d98304b11be67350
parent47d7d46bbe9adb5fec9ec24c8c5b467e9ad5687b
RDS: Reconnect causes panic at completion phase

The connection can be shutdown while it is processing the
RDMA_CM_EVENT_ESTABLISHED event, and this can lead to panic if the cm_id
has been destroyed.

The fix was to drop the connection if the cm_id has been destroyed.

Orabug: 17213597

Signed-off-by: Richard Frank <richard.frank@oracle.com>
(cherry picked from commit 000fdbea7eab93fc55c45de7302b6560fd41b7f1)
net/rds/ib_cm.c
net/rds/rdma_transport.c