zephyr/subsys/net/lib/sockets
Daniel Nejezchleb d3a9e7c29a net: sockets: Fixes net_pkt leak in accept
Fix net_pkt leak by increasing net_context the reference count earlier
in the zsock_accepted_cb() with instalment of the
zsock_received_cb() callback.

And consequently flushing recv_q and decrement net_context
reference count if zsock_accept_ctx() fails.

Signed-off-by: Daniel Nejezchleb <dnejezchleb@hwg.cz>
2022-02-01 14:22:37 -06:00
..
CMakeLists.txt net: socket: packet: using pckt sckt for passing the PPP dialup data 2021-04-01 09:43:56 +03:00
getaddrinfo.c net: sockets: getaddrinfo: Fix possible crash when callback is delayed 2022-02-01 14:18:33 -06:00
getnameinfo.c subsys: Replace printf by printk when applicable 2020-05-09 21:25:33 +02:00
Kconfig kconfig: net: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
socket_offload.c net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
socketpair.c net: sockets: socketpair: fix locking 2021-10-11 21:00:41 -04:00
sockets_can.c net: sockets: sockets_can: Allow parallel receive/send 2021-10-06 22:22:43 -04:00
sockets_internal.h net: sockets: sockets_can: Allow parallel receive/send 2021-10-06 22:22:43 -04:00
sockets_misc.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
sockets_net_mgmt.c net: sockets: Add socket processing priority 2021-09-28 20:11:26 -04:00
sockets_packet.c net: socket: packet: Add EtherCAT protocol support 2021-12-20 17:49:10 +01:00
sockets_select.c net: socket: Allow microsecond accuracy in zsock_select() 2021-06-17 15:23:13 +03:00
sockets_tls.c net: sockets: tls: Fix ZSOCK_POLLHUP detection 2022-01-31 17:20:55 +01:00
sockets.c net: sockets: Fixes net_pkt leak in accept 2022-02-01 14:22:37 -06:00