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
target/tcm_fc: Fix use-after-free of ft_tpg
[pandora-kernel.git]
/
drivers
/
target
/
tcm_fc
/
tfc_sess.c
diff --git
a/drivers/target/tcm_fc/tfc_sess.c
b/drivers/target/tcm_fc/tfc_sess.c
index
0475142
..
1329726
100644
(file)
--- a/
drivers/target/tcm_fc/tfc_sess.c
+++ b/
drivers/target/tcm_fc/tfc_sess.c
@@
-68,6
+68,7
@@
static struct ft_tport *ft_tport_create(struct fc_lport *lport)
if (tport) {
tport->tpg = tpg;
+ tpg->tport = tport;
return tport;
}