Skip to content
Commit e5a5f1da authored by Andy Ross's avatar Andy Ross Committed by Jukka Rissanen
Browse files

net: tcp: prepare_segment needs to work with pre-allocated buffers



Transmitted data coming in via net_context_send() must already have an
allocated TX nbuf.  Let prepare_segment() work with one if available,
adding any trailing data to the end of the generated buf chain.

Change-Id: I4f084ce51e6713773a48b8c9c59450656bc87d8e
Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent b926166d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment