Mike Marciniszyn 4db62d4786 IB/qib: Fix refcount leak in lkey/rkey validation
The mr optimization introduced a reference count leak on an exception
test.  The lock/refcount manipulation is moved down and the problematic
exception test now calls bail to insure that the lock is released.

Additional fixes as suggested by Ralph Campbell <ralph.campbell@qlogic.org>:
- reduce lock scope of dma regions
- use explicit values on returns vs. automatic ret value

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2011-01-10 17:42:23 -08:00
..
2010-12-10 12:27:49 -08:00
2010-12-08 19:52:54 +01:00
2011-01-02 15:31:11 -08:00
2010-12-02 01:19:32 -05:00
2010-12-22 19:43:34 -08:00
2010-12-02 14:51:15 -08:00
2010-11-16 13:33:23 -08:00
2010-12-24 01:28:54 -07:00
2010-12-04 11:18:25 -05:00
2010-11-12 07:55:30 -08:00
2010-12-22 19:43:34 -08:00