Re: [devel] [PATCH 1/1] imm: fix immnd coredump due to initialized CLM handle [#2549]

2017-08-16 Thread Zoran Milinkovic
Hi Mahesh, immnd_cb->clm_hdl should be cleared when CLM invalidates the handle. CLM handle should not be closed when the node goes headless. immnd_cb->clm_hdl is set to 0 in main() function when CLM handle is invalidated and selected object closed. That's the last line in the patch where

Re: [devel] [PATCH 1/1] imm: fix immnd coredump due to initialized CLM handle [#2549]

2017-08-15 Thread A V Mahesh
Hi Zoran , ACK , with following , not tested. Please check that the `immnd_cb->clm_hdl` cleared on Headless case. -AVM On 8/9/2017 5:14 PM, Zoran Milinkovic wrote: Initially CLM handle is set to 0. When CLM handle is initialized, it can be initialized again only when saClmDispatch returns

[devel] [PATCH 1/1] imm: fix immnd coredump due to initialized CLM handle [#2549]

2017-08-09 Thread Zoran Milinkovic
Initially CLM handle is set to 0. When CLM handle is initialized, it can be initialized again only when saClmDispatch returns SA_AIS_ERR_BAD_HANDLE. This will prevent coredumps with initialized CLM handle caused with MDS UP message for AMF and CLM services. --- src/imm/immnd/immnd_clm.c | 7