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
CMakeLists.txt
Kconfig net: buf: Set default user data size to 4 2018-02-12 09:48:32 +02:00
Kconfig.hostname kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
TODO
buf.c net: buf: Support allocation of a net_buf pointing to external buffer 2018-02-13 16:46:32 +02:00
hostname.c