diff options
author | Varun Prakash <varun@chelsio.com> | 2016-12-09 14:40:07 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-14 15:11:53 -0500 |
commit | 165ae50e450bc7de6c741bf2c27ed0920a40a9af (patch) | |
tree | f39f9d08913d59828084be709315cb2e39336713 /drivers/s390/scsi/zfcp_dbf.h | |
parent | 1fe1fdb04b92f54b58eb8b71d2f28cf73fd9801c (diff) | |
download | talos-obmc-linux-165ae50e450bc7de6c741bf2c27ed0920a40a9af.tar.gz talos-obmc-linux-165ae50e450bc7de6c741bf2c27ed0920a40a9af.zip |
scsi: libcxgbi: return error if interface is not up
Do not post hw active open cmd if IFF_UP is not set or link is down on
the interface, return -ENETDOWN in this case.
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_dbf.h')
0 files changed, 0 insertions, 0 deletions