11774a35a8
This bug is detected by test/iscsi_tgt/rpc_config Due to the PG-IG map tree, IG-map is added to PG-map. When PG was deleted first, PG-map was not deleted but PG was deleted because PG-map has IG-maps. PG-IG map tree was designed such that when PG was deleted first, delete all IG-maps belonging to the PG-map, the PG-map, and then PG. By this change stale pointer which will cause memory leak is removed. Change-Id: I15c2ef48bad34608e53d0b44459c90a0cffda24d Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/391321 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
acceptor.c | ||
acceptor.h | ||
conn.c | ||
conn.h | ||
init_grp.c | ||
init_grp.h | ||
iscsi_rpc.c | ||
iscsi_subsystem.c | ||
iscsi.c | ||
iscsi.h | ||
Makefile | ||
md5.c | ||
md5.h | ||
param.c | ||
param.h | ||
portal_grp.c | ||
portal_grp.h | ||
task.c | ||
task.h | ||
tgt_node.c | ||
tgt_node.h |