Skip to content
Snippets Groups Projects
Commit 209eaec5 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

socket_send: Don't send more than MTU allows.

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.
parent 5b8122f2
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment