]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Fix resource leak when acc fails for received plogi (CR 127847)
authorVaios Papadimitriou <vaios.papadimitriou@emulex.com>
Tue, 8 May 2012 22:01:27 +0000 (17:01 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:01:27 +0000 (17:01 -0700)
commitffaefe9e81e75211cdbe963d00cacab0c7a0af0f
tree910c095b4ebaf9153bd0918ae127534bd4896cb6
parent1d2e58a0b08f95e37f82e1415f399483b4f768da
Fix resource leak when acc fails for received plogi (CR 127847)

When a port tries to respond to a plogi that it receives and the issue of the
acc fails the mailbox command that was allocated to register the RPI is not
freed. Now, if the issue for the acc or reject fails free the mailbox command
that was allocated to register the RPI.

commit id: 0a8a86facf359147b2d3ef796496a09b21984b03

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/scsi/lpfc/lpfc_nportdisc.c