cxgb4i : Don't block unload/cxgb4 unload when remote closes TCP connection
authorAnish Bhatt <anish@chelsio.com>
Wed, 19 Nov 2014 03:09:51 +0000 (19:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Nov 2014 21:59:26 +0000 (16:59 -0500)
commitee7255ada313a6db99be47ce174b0bfb8295a041
tree068f848d1f7921ea58036a0f02935e107db4c1d9
parentffb1388a364d135810337182d6800a0c7ee44f48
cxgb4i : Don't block unload/cxgb4 unload when remote closes TCP connection

cxgb4i was returning wrong error and not releasing module reference if remote
end abruptly closed TCP connection. This prevents the cxgb4 network module from
being unloaded, further affecting other network drivers dependent on cxgb4

Sending to net as this affects all cxgb4 based network drivers.

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/cxgbi/libcxgbi.c