]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDS: Workaround for in-use MRs on close causing crash
authorAndy Grover <andy.grover@oracle.com>
Thu, 11 Mar 2010 13:50:01 +0000 (13:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:16:56 +0000 (21:16 -0700)
commit571c02fa81e43ebb4b793f626d6c7bf0fa18902b
tree08868b2379bc577d64654ea14047edd2eeaf55c7
parent048c15e641289d902f7ef9f1241068d8045e210c
RDS: Workaround for in-use MRs on close causing crash

if a machine is shut down without closing sockets properly, and
freeing all MRs, then a BUG_ON will bring it down. This patch
changes these to WARN_ONs -- leaking MRs is not fatal (although
not ideal, and there is more work to do here for a proper fix.)

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