]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: Don't destroy the rdma id until after we're done using it
authorSantosh Shilimkar <ssantosh@kernel.org>
Sat, 22 Aug 2015 22:45:32 +0000 (15:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 20:35:31 +0000 (13:35 -0700)
commitc4c2fed440010b6464f4b1069d20de3da0dc7995
tree6ac790494da86e1b1a25adc179aefcb81546bf25
parent11b139423ad06c2acb014a7363248d73efffdf9d
RDS: Don't destroy the rdma id until after we're done using it

During connection resets, we are destroying the rdma id too soon. We can't
destroy it when it is still in use. So lets move rdma_destroy_id() after
we clear the rings.

Reviewed-by: Ajaykumar Hotchandani <ajaykumar.hotchandani@oracle.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_cm.c