From: Michael Chan Date: Tue, 15 Jun 2010 08:57:03 +0000 (+0000) Subject: cnic: Fix cnic_cm_abort() error handling. X-Git-Tag: v2.6.36-rc1~571^2~572 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b34a4644b4342896e0c1967b8f953213ea4a990;p=pandora-kernel.git cnic: Fix cnic_cm_abort() error handling. Fix the code that handles the error case when cnic_cm_abort() cannot proceed normally. We cannot just set the csk->state and we must go through cnic_ready_to_close() to handle all the conditions. We also add error return code in cnic_cm_abort(). Signed-off-by: Michael Chan Signed-off-by: Eddie Wai Signed-off-by: David S. Miller --- Reading git-diff-tree failed