Skip to content
  • Paul Sokolovsky's avatar
    socket_send: Don't send more than MTU allows. · 209eaec5
    Paul Sokolovsky authored
    As Zephyr currently doesn't handle MTU itself (ZEP-1998), limit amount
    of data we send on our side.
    
    Also, if we get unsuccessful result from net_nbuf_append(), calculate
    how much data it has added still. This works around ZEP-1984.
    209eaec5