android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Faisal Latif d2fa9b26e1 RDMA/nes: Free kmap() resources
We fail when creating many qps as kmap() fails for sq_vbase.
Fix this by doing kunmap() as soon as we are done with sq_vbase.
We do kunmap() in one of the locations below:

(1) nes_destroy_qp()
(2) nes_accept()
(3) nes_connect_event

We keep a flag to avoid multiple calls to kunmap().

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-12-09 15:54:28 -08:00
..
amso1100 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2009-09-14 10:37:28 -07:00
cxgb3 headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
ehca IB/ehca: Rework destroy_eq() 2009-12-09 10:11:04 -08:00
ipath headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
mlx4 Merge branches 'cxgb3', 'ehca', 'ipath', 'ipoib', 'misc', 'mlx4', 'mthca' and 'nes' into for-linus 2009-09-10 21:18:07 -07:00
mthca IB/mthca: Fix access to freed memory in catastrophic event handling 2009-09-24 11:55:41 -07:00
nes RDMA/nes: Free kmap() resources 2009-12-09 15:54:28 -08:00