cnic: Call cm_connect_complete() immediately on error
authorEddie Wai <waie@broadcom.com>
Thu, 23 Dec 2010 07:43:02 +0000 (07:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Dec 2010 19:44:32 +0000 (11:44 -0800)
commit42ecbb8426aa229167d7f9d4b4e20f24bf42cb24
tree5bddd73215b25274be3b6d7f4a9cb7a341b59a1b
parenteaaa6e9c222d5c398488ed4216f0fd94e4b81759
cnic: Call cm_connect_complete() immediately on error

If we get a path_resp error from userspace, call cm_connect_complete()
immediately with error so that bnx2i can react to the error faster.

Signed-off-by: Eddie Wai <waie@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c