Skip to content

Keep lwIP netif persistent across lifecycle transitions#411

Merged
matthiaskessler merged 1 commit into
eclipse-openbsw:mainfrom
esrlabs:cr-187388
May 21, 2026
Merged

Keep lwIP netif persistent across lifecycle transitions#411
matthiaskessler merged 1 commit into
eclipse-openbsw:mainfrom
esrlabs:cr-187388

Conversation

@amit-warbhe
Copy link
Copy Markdown
Contributor

Keep lwIP netif persistent across lifecycle transitions

After Lifecycle transition 9 → 4 → 9, UDP multicast join failed with:
igmp_joingroup failed with status -6
because EthernetSystem::init() was only executed once during system lifetime,
while run() is re-executed after lifecycle restart.

Network interface configuration was performed inside init().
During LC restart (4 → 9), init() was not called again, therefore
the lwIP netif was not properly reconfigured.

Moving all netif-specific configuration and activation logic into run() solves the issue.

matthiaskessler
matthiaskessler previously approved these changes May 4, 2026
After Lifecycle transition 9 → 4 → 9, UDP multicast join failed with:
igmp_joingroup failed with status -6
because EthernetSystem::init() was only executed once during system lifetime,
while run() is re-executed after lifecycle restart.

Network interface configuration was performed inside init().
During LC restart (4 → 9), init() was not called again, therefore
the lwIP netif was not properly reconfigured.

Moving all netif-specific configuration and activation logic into run() solves the issue.
@matthiaskessler matthiaskessler merged commit 366d993 into eclipse-openbsw:main May 21, 2026
253 checks passed
@matthiaskessler matthiaskessler deleted the cr-187388 branch May 21, 2026 11:33
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.

3 participants