RDS: Fix panic on unload
authorAndy Grover <andy.grover@oracle.com>
Fri, 30 Oct 2009 08:51:55 +0000 (08:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2009 22:06:38 +0000 (15:06 -0700)
commit433d308dd85e506bb6529177cc0f997627d87ed6
tree79d1862f71c708ce4488db488a846f89b88c6abe
parent86357b19bcabd9355937f3fb84f90ba9fe76a5d3
RDS: Fix panic on unload

Remove explicit destruction of passive connection when destroying
active end of the connection. The passive end is also on the
device's connection list, and will thus be cleaned up properly.
Panic was caused by trying to clean it up twice.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_rdma.c
net/rds/iw_rdma.c