RDKB-62747 : HS - IPv6 address is not removed after RBUS API WAN Stop.#175
Conversation
Looks like during IPv6 tear down we were resetting the virtual interface status to Down due to the reason IPv6 and route were not cleared. https://github.com/rdkcentral/wan-manager/blob/main/source/WanManager/wanmgr_interface_sm.c#L2656 Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
There was a problem hiding this comment.
Pull request overview
This PR fixes an issue where IPv6 addresses and routes were not being properly removed during WAN stop operations. The fix moves the interface status update to occur after IPv6 teardown completes, ensuring cleanup operations execute successfully before marking the interface as down.
- Relocates
WanManager_UpdateInterfaceStatus()call to execute after IPv6 teardown operations - Aligns IPv6 down flow with IPv4 down flow pattern
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Looks like during IPv6 tear down we were resetting the virtual interface status to Down due to the reason IPv6 and route were not cleared. https://github.com/rdkcentral/wan-manager/blob/main/source/WanManager/wanmgr_interface_sm.c#L2656 Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Looks like during IPv6 tear down we were resetting the virtual interface status to Down due to the reason IPv6 and route were not cleared. https://github.com/rdkcentral/wan-manager/blob/main/source/WanManager/wanmgr_interface_sm.c#L2656 Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Looks like during IPv6 tear down we were resetting the virtual interface status to Down due to the reason IPv6 and route were not cleared. https://github.com/rdkcentral/wan-manager/blob/main/source/WanManager/wanmgr_interface_sm.c#L2656 Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Looks like during IPv6 tear down we were resetting the virtual interface status to Down due to the reason IPv6 and route were not cleared. https://github.com/rdkcentral/wan-manager/blob/main/source/WanManager/wanmgr_interface_sm.c#L2656 Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Pull request overview
This PR fixes an issue where IPv6 addresses and routes were not being properly removed during WAN stop operations. The fix moves the interface status update to occur after IPv6 teardown completes, ensuring cleanup operations execute successfully before marking the interface as down.
WanManager_UpdateInterfaceStatus()call to execute after IPv6 teardown operations💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.