mirror of
https://github.com/espressif/openthread.git
synced 2026-08-29 13:29:54 +00:00
[dua] fix infinite DUA.req loop (#6797)
Verified that this commit fixes the infinite DUA.req loop. This is a quick fix. We still need to reactor mChildIndexDuaRegistering because there are still potential issues.
This commit is contained in:
@@ -474,7 +474,7 @@ void DuaManager::PerformNextRegistration(void)
|
||||
const Ip6::Address *duaPtr = nullptr;
|
||||
Child * child = nullptr;
|
||||
|
||||
if (!mChildDuaMask.Get(mChildIndexDuaRegistering))
|
||||
if (!mChildDuaMask.Get(mChildIndexDuaRegistering) || mChildDuaRegisteredMask.Get(mChildIndexDuaRegistering))
|
||||
{
|
||||
for (Child &iter : Get<ChildTable>().Iterate(Child::kInStateValid))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user