git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] libfc: fix mem leak in fc_seq_assign()
[pandora-kernel.git]
/
drivers
/
scsi
/
libfc
/
fc_exch.c
diff --git
a/drivers/scsi/libfc/fc_exch.c
b/drivers/scsi/libfc/fc_exch.c
index
46973d6
..
8bfb421
100644
(file)
--- a/
drivers/scsi/libfc/fc_exch.c
+++ b/
drivers/scsi/libfc/fc_exch.c
@@
-1274,7
+1274,7
@@
static struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp)
list_for_each_entry(ema, &lport->ema_list, ema_list)
if ((!ema->match || ema->match(fp)) &&
- fc_seq_lookup_recip(lport, ema->mp, fp)
!
= FC_RJT_NONE)
+ fc_seq_lookup_recip(lport, ema->mp, fp)
=
= FC_RJT_NONE)
break;
return fr_seq(fp);
}