From: Faisal Latif Date: Wed, 9 Dec 2009 23:54:28 +0000 (-0800) Subject: RDMA/nes: Free kmap() resources X-Git-Tag: v2.6.33-rc1~60^2^10~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2fa9b26e181d1e3c3df06a57fa13b04afee0e16;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed