Re: [PATCH] scsi: libcxgbi: return error if interface is not up

2016-12-14 Thread Martin K. Petersen
> "Varun" == Varun Prakash writes: Varun> Do not post hw active open cmd if IFF_UP is not set or link is Varun> down on the interface, return -ENETDOWN in this case. Applied to 4.10/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from

[PATCH] scsi: libcxgbi: return error if interface is not up

2016-12-09 Thread Varun Prakash
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 --- drivers/scsi/cxgbi/libcxgbi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/scsi/cxgbi/libcxgbi.c