Hi Thuan
Ack with one comment (review only), I guess
avd_check_nodes_after_renit_imn() and should be
avd_check_nodes_after_reinit_imm()?
I'll change it and push on your behalf.
Thanks
Gary
On 12/11/18 7:25 pm, thuan.tran wrote:
- When AMFD got IMM BAD_HANDLE, it will try to finalize
- When AMFD got IMM BAD_HANDLE, it will try to finalize current OI
and reinit new OI, it make some callbacks are removed without execution.
Try to dispatch OI before finalize it to reinit.
- After reinit OI, check node db to find out node which is not exist
in IMM (in case ccb apply delete node
- When AMFD got IMM BAD_HANDLE, it will try to finalize current OI
and reinit new OI, it make some callbacks are removed without execution.
Try to dispatch OI before finalize it to reinit.
- After reinit OI, check node db to find out node which is not exist
in IMM (in case ccb apply delete node
---
src/amf/amfd/imm.cc | 2 +
src/amf/amfd/node.cc | 114 ++-
src/amf/amfd/node.h | 1 +
3 files changed, 71 insertions(+), 46 deletions(-)
diff --git a/src/amf/amfd/imm.cc b/src/amf/amfd/imm.cc
index 82d2b13..03a91cc 100644
---
---
src/amf/amfd/imm.cc | 2 ++
src/amf/amfd/node.cc | 26 ++
src/amf/amfd/node.h | 1 +
3 files changed, 29 insertions(+)
diff --git a/src/amf/amfd/imm.cc b/src/amf/amfd/imm.cc
index 82d2b13..03a91cc 100644
--- a/src/amf/amfd/imm.cc
+++ b/src/amf/amfd/imm.cc
@@ -41,6