diff options
author | Faisal Latif <faisal.latif@intel.com> | 2009-12-09 15:54:28 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-12-09 15:54:28 -0800 |
commit | d2fa9b26e181d1e3c3df06a57fa13b04afee0e16 (patch) | |
tree | dfac5f80c0a1b0e1ef38a1a6580b7faaf5f1f348 /net/rds/rdma.h | |
parent | fd000e12a564bdeaec5e5a438d341d9132409f26 (diff) |
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>
Diffstat (limited to 'net/rds/rdma.h')
0 files changed, 0 insertions, 0 deletions