[PATCH] IB: unmap FMRs when destroying FMR pool
authorRoland Dreier <roland@eddore.topspincom.com>
Mon, 15 Aug 2005 14:35:16 +0000 (07:35 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 27 Aug 2005 03:37:36 +0000 (20:37 -0700)
commitffbf4c34f1916fa1e0554269c94c57da4a21a348
tree1361f0ca29e0a8d4e22fb508b7493db441007c7f
parent2e8b981c5d5c6fe5479ad47c44e3e76ebb5408ef
[PATCH] IB: unmap FMRs when destroying FMR pool

Make sure that all FMRs are unmapped before we deallocate them so that
we don't leak references to our protection domain when destroying an
FMR pool.  (Bug reported by Guy German <guyg@voltaire.com>)

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/fmr_pool.c