From: Faisal Latif Date: Wed, 8 Apr 2009 21:22:20 +0000 (-0700) Subject: RDMA/nes: Fix error handling issues X-Git-Tag: v2.6.30-rc2~92^2^5~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fc3d7410c861c8ced5b81a5c3759f6bbf891dc;p=pandora-kernel.git RDMA/nes: Fix error handling issues Fix issues found by static code analysis: (1) Check if cm_node was successfully created for loopback connection. (2) schedule_nes_timer() does not free up allocated memory after encountering an error. There is a WARN_ON() for this condition. (3) there is a cm_node->freed flag which is set but not used. Reported-by: Dan Carpenter Signed-off-by: Faisal Latif Signed-off-by: Roland Dreier --- Reading git-diff-tree failed