commit | 7b34a4644b4342896e0c1967b8f953213ea4a990 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Tue Jun 15 08:57:03 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 15 14:23:37 2010 -0700 |
tree | e25d3d267b4ab1d82ace8256b47f6d42dc9d6559 | |
parent | 943189f1d564e69201f7d71e77f5608a701e3e55 [diff] |
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 <mchan@broadcom.com> Signed-off-by: Eddie Wai <waie@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>