]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: fix mm leak in handling incoming request for target discovery
authorHillf Danton <dhillf@gmail.com>
Mon, 16 May 2011 23:45:35 +0000 (16:45 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:36:41 +0000 (12:36 -0400)
commitd44d9ce23e8d881379a240e5321d5d5776005d2a
treeee07e934da9afe147c49faadc7289948b34d37ea
parentb790694309725c11d7554a8866e4bd31d58d56ec
[SCSI] libfc: fix mm leak in handling incoming request for target discovery

When handling incoming request, if the operation code carried by the
received frame is not RSCN, the frame should be freed as in the RSCN
case, or there is memory leakage.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/libfc/fc_disc.c