zephyr/subsys/net
Aurelien Jarno 40b8854705 net: tcp: do not drop successfully received packets
Each time a successfully TCP connection is done, the number of dropped
TCP packets increases by 2. This is happens because when receiving an
initial SYN packet, or an ACK packet following a SYN+ACK packet,
NET_DROP is returned even if there is no error.

Fix that by replacing the two corresponding "return NET_DROP" by
"net_pkt_unref(pkt)" followed by "return 0".

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2019-01-16 13:11:39 +02:00
..
ip net: tcp: do not drop successfully received packets 2019-01-16 13:11:39 +02:00
l2 net: ethernet: Clean an obscure ref/unref logic in ethernet_send() 2019-01-08 13:39:40 +02:00
lib net: buf: linearize: Get rid of useless memset() 2019-01-12 15:24:29 -06:00
buf.c net: buf: linearize: Get rid of useless memset() 2019-01-12 15:24:29 -06:00
CMakeLists.txt net: l2: Move the layer 2 code into subsys/net/ 2018-06-27 17:02:59 +03:00
hostname.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
Kconfig net: buf: Use proper Kconfig log level template 2018-10-24 15:10:33 +03:00
Kconfig.hostname net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig.template.log_config.default.net net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig.template.log_config.net net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
TODO Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00