Skip to content
Commit cffb79a4 authored by Xiaorui Hu's avatar Xiaorui Hu Committed by Anas Nashif
Browse files

net: context: set tcp app data len when sending packets



When we send TCP data segment, we need to set the length
of the application data by calling net_pkt_set_appdatalen().
This is done so that sequence number can be properly
advanced when we receive ACK to that pending packet.

Signed-off-by: default avatarxiaorui hu <xiaorui.hu@linaro.org>
parent 79ea8685
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment