Skip to content

RDKB-62747 : HS - IPv6 address is not removed after RBUS API WAN Stop.#175

Merged
guto86 merged 12 commits into
mainfrom
RDKB-62747-Test
Dec 16, 2025
Merged

RDKB-62747 : HS - IPv6 address is not removed after RBUS API WAN Stop.#175
guto86 merged 12 commits into
mainfrom
RDKB-62747-Test

Conversation

@LakshminarayananShenbagaraj
Copy link
Copy Markdown
Contributor

@LakshminarayananShenbagaraj LakshminarayananShenbagaraj commented Dec 10, 2025

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.

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>
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj requested a review from a team as a code owner December 10, 2025 14:26
Copilot AI review requested due to automatic review settings December 10, 2025 14:26
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj added the bug Something isn't working label Dec 10, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Copilot AI review requested due to automatic review settings December 11, 2025 10:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Copilot AI review requested due to automatic review settings December 11, 2025 12:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Copilot AI review requested due to automatic review settings December 15, 2025 11:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Comment thread source/WanManager/wanmgr_interface_sm.c Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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>
Copilot AI review requested due to automatic review settings December 15, 2025 15:49
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>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@guto86 guto86 merged commit 440c6dc into main Dec 16, 2025
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 16, 2025
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj deleted the RDKB-62747-Test branch December 16, 2025 17:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants