diff options
author | Varun Prakash <varun@chelsio.com> | 2016-12-09 12:10:07 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-14 23:11:53 +0300 |
commit | 165ae50e450bc7de6c741bf2c27ed0920a40a9af (patch) | |
tree | f39f9d08913d59828084be709315cb2e39336713 /security | |
parent | 1fe1fdb04b92f54b58eb8b71d2f28cf73fd9801c (diff) | |
download | linux-165ae50e450bc7de6c741bf2c27ed0920a40a9af.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions