|
@@ -754,9 +754,9 @@ int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport,
|
|
case ELS_LOGO:
|
|
case ELS_LOGO:
|
|
if (fip->mode == FIP_MODE_VN2VN) {
|
|
if (fip->mode == FIP_MODE_VN2VN) {
|
|
if (fip->state != FIP_ST_VNMP_UP)
|
|
if (fip->state != FIP_ST_VNMP_UP)
|
|
- return -EINVAL;
|
|
|
|
|
|
+ goto drop;
|
|
if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI)
|
|
if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI)
|
|
- return -EINVAL;
|
|
|
|
|
|
+ goto drop;
|
|
} else {
|
|
} else {
|
|
if (fip->state != FIP_ST_ENABLED)
|
|
if (fip->state != FIP_ST_ENABLED)
|
|
return 0;
|
|
return 0;
|