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 net: buf: Support allocation of a net_buf pointing to external buffer 2018-02-13 16:46:32 +02:00
CMakeLists.txt net/ieee802154: Make RAW mode generic 2017-11-22 10:10:09 -05:00
hostname.c net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
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 Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00