From: Faisal Latif Date: Mon, 27 Apr 2009 20:45:19 +0000 (-0700) Subject: RDMA/nes: Fix error path in nes_accept() X-Git-Tag: v2.6.30-rc4~5^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9256b2513074164b4555617c4a3b82d36abf03e5;p=pandora-kernel.git RDMA/nes: Fix error path in nes_accept() If reg_phys_mem() fails, we need to free memory allocated for MPA frame with private data before returning the error. Also move nes_add_ref() after the reg_phys_mem() is successful. Signed-off-by: Faisal Latif Signed-off-by: Roland Dreier --- Reading git-diff-tree failed