mbed-os/features/lwipstack
Sathish Kumar Mani 9acdd53144 Fixes IPv6 multicast join issue
Problem Statement:
During multicast join sequence, InternetSocket::join_multicast_group() calls InternetSocket::modify_multicast_group(). modify_multicast_group() sets up the multicast group address (i.e., mreq.imr_multiaddr) to be joined and the interface address (i.e., mreq.imr_interface) to be used for the multicast join request. The interface address is initialized with the default value, which sets the version of interface address to NSAPI_UNSPEC. This results in LWIP::setsockopt() API to attempt IPv6 multicast join on the IPv4 interface address, hence IPv6 multicast join always fails with the protocol error.

Fix:
Initialize interface address version based on the multicast address version in LWIP::setsockopt(), before attempting multicast join operation.
2019-11-18 15:42:08 +00:00
..
lwip Merge pull request #11339 from sathishm6/topic/pr-bct-auto-ip-fix 2019-08-29 08:38:32 +02:00
lwip-sys TCP Packet loss when TCP Receive mailbox is full. 2019-10-16 11:53:52 +01:00
.mbedignore Multihoming fixed according to new LWIP implementation. 2019-04-11 20:54:48 -05:00
CONTRIBUTING.md Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now 2018-06-21 11:00:00 +03:00
LWIPInterface.cpp lwIP changes for PPP service 2019-08-20 13:37:12 +03:00
LWIPInterfaceEMAC.cpp Multihoming initial release 2019-02-19 17:39:46 +02:00
LWIPInterfaceL3IP.cpp Multihoming initial release 2019-02-19 17:39:46 +02:00
LWIPInterfacePPP.cpp lwIP adds now PPP DNS servers to default interface 2019-08-20 13:37:12 +03:00
LWIPMemoryManager.cpp L3IP Interface Implementation 2018-12-20 15:23:43 +01:00
LWIPMemoryManager.h L3IP Interface Implementation 2018-12-20 15:23:43 +01:00
LWIPStack.cpp Fixes IPv6 multicast join issue 2019-11-18 15:42:08 +00:00
LWIPStack.h lwIP changes for PPP service 2019-08-20 13:37:12 +03:00
lwip_tools.cpp lwIP changes for PPP service 2019-08-20 13:37:12 +03:00
lwip_tools.h lwIP changes for PPP service 2019-08-20 13:37:12 +03:00
lwipopts.h TCP Packet loss when TCP Receive mailbox is full. 2019-10-16 11:53:52 +01:00
mbed_lib.json TCP Packet loss when TCP Receive mailbox is full. 2019-10-16 11:53:52 +01:00