zephyr/subsys/net
Aska Wu 7e58c5609a net: sockets: Fix net pkt leak
If net_context_recv() returns a error, net pkt will not be released. For
example, net_context_recv() returns -EBADF because the TCP connection is
closed by the peer.

Handle the return value instead of using SET_ERRNO().

Signed-off-by: Aska Wu <aska.wu@linaro.org>
2017-11-17 12:58:32 +02:00
..
ip net: dhcpv4: Unref net_pkt if message sending fails 2017-11-17 11:16:04 +02:00
lib net: sockets: Fix net pkt leak 2017-11-17 12:58:32 +02:00
buf.c net: buf: Add slist helpers 2017-11-06 14:20:40 +02:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
hostname.c net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
Kconfig drivers: Rename random to entropy 2017-11-01 08:26:29 -04:00
Kconfig.hostname net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
TODO Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00