Skip to content

RDKCOM-5584: RDKBDEV-3439 Prevent duplicate IPv6 assignment on brlan0 by removing redundant lan-restart sysevent handling in setUpLanPrefixIPv6().#207

Open
aprasad-97 wants to merge 1 commit into
rdkcentral:mainfrom
aprasad-97:RDKBDEV-3439
Open

RDKCOM-5584: RDKBDEV-3439 Prevent duplicate IPv6 assignment on brlan0 by removing redundant lan-restart sysevent handling in setUpLanPrefixIPv6().#207
aprasad-97 wants to merge 1 commit into
rdkcentral:mainfrom
aprasad-97:RDKBDEV-3439

Conversation

@aprasad-97

Copy link
Copy Markdown
Contributor

Reason For Change: Setting the lan-restart sysevent triggers IPv6 address assignment on brlan0. Since WANManager already handles brlan0 IPv6 assignment earlier in setUpLanPrefixIPv6(), setting this sysevent again later in the function is unnecessary and causes duplicate assignment. To avoid repetition and stale configuration, the lan-restart sysevent update has been removed from the later part of the function.

Risks: Low
Signed-off-by: Aiswarya Prasad aprasad@maxlinear.com

… redundant lan-restart sysevent handling in setUpLanPrefixIPv6().

Reason For Change: Setting the lan-restart sysevent triggers IPv6 address assignment on brlan0. Since WANManager already handles brlan0 IPv6 assignment earlier in setUpLanPrefixIPv6(), setting this sysevent again later in the function is unnecessary and causes duplicate assignment. To avoid repetition and stale configuration, the lan-restart sysevent update has been removed from the later part of the function.

Risks: Low

Signed-off-by: Aiswarya Prasad <aprasad@maxlinear.com>
@aprasad-97 aprasad-97 requested a review from a team as a code owner May 8, 2026 10:22
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3439: Prevent duplicate IPv6 assignment on brlan0 by removing redundant lan-restart sysevent handling in setUpLanPrefixIPv6(). RDKCOM-5584: RDKBDEV-3439 Prevent duplicate IPv6 assignment on brlan0 by removing redundant lan-restart sysevent handling in setUpLanPrefixIPv6(). May 11, 2026
@tinaelizabeth84

Copy link
Copy Markdown

@aprasad-97
Please check the test results i have added on the RDKBDEV ticket, There seems to be an issue with the changes

@@ -2134,8 +2134,6 @@ int setUpLanPrefixIPv6(DML_VIRTUAL_IFACE* pVirtIf)
/* This is for IP.Interface.1. use */
sysevent_set(sysevent_fd, sysevent_token, COSA_DML_DHCPV6S_ADDR_SYSEVENT_NAME, globalIP, 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hello,

This lan-restart is required. We no longer set the LAn bridge address from the WAnManager.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @aprasad-97,

Please let us know if we can close the ticket or if wew should have a call to discuss it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think in this case, u can close the ticket pls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants