]> 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)
commit369136c47c37920e30796be375d2e0d6308d8745
tree6ac790494da86e1b1a25adc179aefcb81546bf25
parent37cfd81f06f5ece48e112111a30046c807debe4f
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