]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d539bfbf38b827a217a7f939bab6824bbec33b0
tree068f848d1f7921ea58036a0f02935e107db4c1d9
parent408f42fe6289fc9d46d8b88a2c43359c1352725c
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