Skip to content

V4.1.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 08 Mar 07:12
· 0 commits to d0b9ed5d013e04cf5e8b76b39f0dd387a39b6395 since this release

Changes between FreeRTOS-plus-TCP V4.1.0 and V4.0.0 released March 8, 2024:

  • Add new Network Interface for Corstone-300 FVP (MPS3_AN552).
    We thank @urutva for their contribution.
  • Add new loopback Network Interface.
    We thank @htibosch for their contribution.
  • Add FreeRTOS_get_tx_base() API to return the TCP Tx stream buffer pointer.
    We thank @htibosch for their contribution.
  • Add FreeRTOS_InterfaceEPInSameSubnet_IPv6 API to find an IPv6 endpoint on
    the given interface that is in the same subnet as the given IP address.
  • Add checks to prevent potential integer overflow in the buffer
    allocation APIs.
  • Improve performance by removing redundant critical sections.
    We thank @htibosch for their contribution.
  • Improve performance on 64-bit targets by correctly setting
    ipBUFFER_PADDING to satisfy the architecture’s alignment requirements.
    We thank @htibosch for their contribution.
  • Improve FreeRTOS_send() API performance by not iterating more times than
    necessary when trying to send data.
    We thank @htibosch for their contribution.
  • Update the Neighbour Discovery cache behavior to overwrite the oldest
    entry when the cache is full. We thank @evpopov for their contribution.
  • Update the FreeRTOS_get_tx_head() API to create the TCP Tx stream buffer
    if it wasn't already created for the given socket.
  • FreeRTOS_GetIPType is now always available, regardless of the value of
    ipconfigUSE_TCP. We thank @HTRamsey for their contribution.
  • Improve tracing support by adding more trace macros.
    We thank @HTRamsey for their contribution.
  • Add support for multiple endpoints in STM32Hxx Network Interface.
    Earlier it was capable of handling upto 3 endpoints only.
  • Fix potential NULL pointer dereference when a packet from a subnet other
    than the endpoint's subnet is received on an endpoint that has no gateway
    configured. We thank @htibosch for their contribution.
  • Fix TCP zero-copy functionality by removing incorrect NULL check for
    pvBuffer parameter in the FreeRTOS_Send API.
    We thank @evpopov for their contribution.
  • Fix the network buffer leak in the Neighbour Discovery (ND) code.
    We thank @htibosch for their contribution.
  • ARP requests are now sent only on the endpoint with IP address in the same
    subnet as the ARP request’s target address. Earlier ARP requests were sent
    over all the available endpoints.
    We thank @evpopov for their contribution.
  • Neighbor Solicitation (NS) responses are now correctly sent on the same
    endpoint on which the Neighbor Solicitation request is received.
    Earlier, it could be sent out on a wrong interface when multiple IPv6
    Link Local endpoints were present on different interfaces.
    We thank @evpopov for their contribution.
  • Responses to mDNS/LLMNR/NBNS requests are now sent on the the same
    endpoint on which the request was received. Earlier, it could be sent out
    on a wrong endpoint. We thank @evpopov for their contribution.
  • Fix size calculation in the neighbor solicitation handling code to avoid a
    buffer reallocation always. We thank @evpopov for their contribution.
  • Fix FreeRTOS_getaddrinfo_a API to use the address family supplied in
    xHints parameter instead of always using IPv6.
    We thank @evpopov for their contribution.
  • Fix IPv4 incoming packet filtering logic to correctly filter out unicast
    packets not destined to the device, when
    ipconfigETHERNET_DRIVER_FILTERS_FRAME_TYPES is enabled.
    We thank @evpopov for their contribution.
  • Improve error handling in STM32H7xx Network Interface.
    We thank @htibosch for their contribution.
  • Update the IPv4 packet filtering logic to correctly discard bad loopback
    packets originating outside of the network.
  • Ensure that the hostname string in DNS resolution code is NULL terminated,
    even when the destination buffer is not large enough to hold the complete
    string. We thank @bjsowa for their contribution.
  • Fix the network down and up process to correctly restart DHCP/RA timers.
    We thank @bjsowa for their contribution.
  • Fix SAME70 Network Interface to correctly release Tx semaphore when the
    network interface fails to transmit.
    We thank @evpopov for their contribution.
  • Update NXP1060 Network Interface to handle network cable disconnection.
    We thank @microcris for their contribution.
  • Update the alignment specifier in TM4C Network Interface to make it
    compatible with both CCS and GCC compilers.
    We thank @jonathangjertsen for their contribution.
  • Fix minimum length check for ICMP/ping packets.
    We thank @htibosch for their contribution.
  • Fix received packet length calculation in the SAM Network Interface.
    We thank @htibosch for their contribution.
  • Remove obsolete structs xNetworkAddressing and xDefaultAddressing.
    We thank @evpopov for their contribution.
  • Fix compilation with Clang 17 and updated log output.
    We thank @Mixaill for their contribution.
  • Fix compiler warnings with the -Wpedantic option.
    We thank @Mixaill for their contribution.
  • Fix compiler warnings in the SAM Network Interface.
    We thank @Peter-Herrmann for their contribution.
  • Streamline the usage of const in stream buffer APIs.
    We thank @HTRamsey for their contribution.
  • Debug logs, printed using FreeRTOS_debug_printf, are now correctly
    guarded using the macro ipconfigHAS_DEBUG_PRINTF.
    We thank @microcris for their contribution.
  • Add the LIBSLIRP Network Interface to be available in the CMakelists
    Network Interface selection. We thank @bjsowa for their contribution.
  • Move static assert definition to a common header file to make it available
    to all the source files. Also, remove redundant macro check definitions.
    We thank @HTRamsey for their contribution.
  • Remove the xCheckLoopback function. It is no longer needed as we now
    have a loopback interface. We thank @htibosch for their contribution.