Skip to content

Commit c8d6691

Browse files
avasquez01James Bottomley
authored andcommitted
[SCSI] qla2xxx: Free firmware PCB on logout request.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
1 parent a74ec14 commit c8d6691

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/scsi/qla2xxx/qla_mbx.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,8 @@ qla24xx_fabric_logout(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain,
18831883
lg->handle = MAKE_HANDLE(req->id, lg->handle);
18841884
lg->nport_handle = cpu_to_le16(loop_id);
18851885
lg->control_flags =
1886-
__constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO);
1886+
__constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO|
1887+
LCF_FREE_NPORT);
18871888
lg->port_id[0] = al_pa;
18881889
lg->port_id[1] = area;
18891890
lg->port_id[2] = domain;

0 commit comments

Comments
 (0)