cnic: Shutdown iSCSI ring during uio_close.
authorMichael Chan <mchan@broadcom.com>
Mon, 21 Sep 2009 15:39:37 +0000 (15:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2009 21:47:21 +0000 (14:47 -0700)
commit6ef57a0ea77e7bf4123a06da895a0e26312b5737
treee4af2f05bd7aa7dca4195a65d88ed4db52fac0db
parent68f40152747da28ae0de21633c9062671448b66c
cnic: Shutdown iSCSI ring during uio_close.

The iSCSI ring should be shutdown during uio_close instead of uio_open
for proper operations.  This fixes the problem of the ring getting
stuck intermittently.

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