IB/core: Free umem when mm is already gone
commit7b82cd8ee7374f803a3daf9a6cbc6eb4bbb10a63
authorEli Cohen <eli@mellanox.co.il>
Mon, 14 May 2007 08:35:43 +0000 (14 11:35 +0300)
committerRoland Dreier <rolandd@cisco.com>
Sat, 19 May 2007 15:51:53 +0000 (19 08:51 -0700)
tree2ff12883dc0f1116a29c83d4396e8c965fcd13fe
parent55b637c6a003a8c4850b41a2c2fd6942d8a7f530
IB/core: Free umem when mm is already gone

Free umem when task's mm is already destroyed by the time
ib_umem_release gets called.

Found by Dotan Barak at Mellanox.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/umem.c