projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e736f
)
[SCSI] libfc: fix mem leak in fc_exch_recv_seq_resp()
author
Hillf Danton
<dhillf@gmail.com>
Wed, 1 Dec 2010 00:18:12 +0000
(16:18 -0800)
committer
James Bottomley
<James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:19 +0000
(12:24 -0600)
There seems that ep should get released, or it will no longer get freed.
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_exch.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libfc/fc_exch.c
b/drivers/scsi/libfc/fc_exch.c
index 1dec59333ed62da7f66a3973fe6140c50ba05108..d0df1b2faf25184b3fc3752e6a23429736312bdf 100644
(file)
--- a/
drivers/scsi/libfc/fc_exch.c
+++ b/
drivers/scsi/libfc/fc_exch.c
@@
-1342,7
+1342,7
@@
static void fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp)
}
if (ep->esb_stat & ESB_ST_COMPLETE) {
atomic_inc(&mp->stats.xid_not_found);
- goto
out
;
+ goto
rel
;
}
if (ep->rxid == FC_XID_UNKNOWN)
ep->rxid = ntohs(fh->fh_rx_id);