-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds bugfix for lwip multicast group commands #20136
Adds bugfix for lwip multicast group commands #20136
Conversation
46b26a4
to
17fba74
Compare
PR #20136: Size comparison from 2377087 to 17fba74 Increases (12 builds for cc13x2_26x2, esp32, p6)
Decreases (6 builds for cc13x2_26x2, telink)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
17fba74
to
087af03
Compare
PR #20136: Size comparison from acbe9cd to 087af03 Increases (9 builds for cc13x2_26x2, efr32, esp32, p6)
Decreases (1 build for telink)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Obsolete - fix path was updated to fix the all-interface multicast joining
@andy31415
|
Updated code to be consistent. Ended up to making a hybrid of the two that is hopefully readable (after slack discussion with @rosahay-silabs ) |
PR #20136: Size comparison from b14e1f5 to 997d148 Increases (11 builds for cc13x2_26x2, cyw30739, efr32, esp32, p6, telink)
Decreases (2 builds for cc13x2_26x2, telink)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
* Adds fix for IPV6 multicast * Revert LwIP options * Adds fix for warning on ESP32 toolchain * Adds changes to incorporate InterfaceId:Null() for LWIP * Add IPv4 support for non-interface join/leave group * Fix some typos - compile tested with esp32 * Reformat code for readability and consistency Co-authored-by: Andrei Litvin <[email protected]>
* Adds fix for IPV6 multicast * Revert LwIP options * Adds fix for warning on ESP32 toolchain * Adds changes to incorporate InterfaceId:Null() for LWIP * Add IPv4 support for non-interface join/leave group * Fix some typos - compile tested with esp32 * Reformat code for readability and consistency Co-authored-by: Andrei Litvin <[email protected]> Co-authored-by: Rohan Sahay <[email protected]> Co-authored-by: Andrei Litvin <[email protected]>
Problem
netif
being returned as null fromGetNetIfByInterface()
which callsnetif_get_by_index()
with index value0
. The function returnsNULL
if index0
is passed as a reference to find thenetif
from the list of netifs maintained by LwIP.Fixes #20286
Change overview
Adds fix for group commands based on UDP multicast.
Testing
No new unit test cases added, since this is part of TC-SC-5.1 and TC-SC-5.2.
Platforms tested:
RPI4 (chip-tool) + EFR32 + (rs9116/wf200)
Depends upon #20123
Reopening on #20133