zephyr/subsys/net/lib/sockets
Jukka Rissanen e98f5d37f5 net: sockets: Store socket private data into its own variable
Do not try to re-use net_context.user_data field as in many places
(like in accept) it is expected to contain pointer to net_context.
Storing the socket flags will corrupt the value. To simplify and
make things less error prone, use socket specific field in net_context
to store the socket flags.

Fixes #19191

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-09-18 23:47:36 +03:00
..
CMakeLists.txt net: sockets: mgmt: Add AF_NET_MGMT address family support 2019-07-01 13:50:08 -07:00
getaddrinfo.c kernel: Port remaining buildable syscalls to new API 2019-09-12 11:31:50 +08:00
getnameinfo.c net: sockets: Implement getnameinfo() 2019-02-19 17:34:57 -05:00
Kconfig net: canbus: Rename canbus to canbus_raw 2019-08-08 13:25:01 +03:00
socket_offload.c net: sockets: Remove TI conditional from offloaded fcntl implementation 2019-05-30 18:41:31 -04:00
sockets_can.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
sockets_internal.h net: sockets: Store socket private data into its own variable 2019-09-18 23:47:36 +03:00
sockets_misc.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
sockets_net_mgmt.c net: socket_mgmt: Fix for coverity CID 203397 2019-08-19 16:27:23 +02:00
sockets_packet.c net: socket: Set default protocol if proto == 0 2019-09-12 11:22:45 +03:00
sockets_select.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
sockets_tls.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
sockets.c net: sockets: Store socket private data into its own variable 2019-09-18 23:47:36 +03:00