zephyr/subsys/net
Paul Sokolovsky 5925112ee6 net: sockets: Preserve user_data for any net_context send() or recv()
We use ctx->user_data to hold socket flags. As each call to
net_context_recv() and net_context_send() overwrites its previous
value, we explicitly must pass the current ctx value there.

Without this, non-blocking socket was turned into blocking after
e.g. switching from receiving to sending.

Fixes: #6309

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-03-05 12:54:42 +01:00
..
ip net: context: fix semaphore for offload in in net_context_put() 2018-03-03 20:40:25 +01:00
lib net: sockets: Preserve user_data for any net_context send() or recv() 2018-03-05 12:54:42 +01:00
buf.c
CMakeLists.txt
hostname.c
Kconfig
Kconfig.hostname
TODO