zephyr/subsys/net/ip
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
..
6lo.c net/6lo: Remove fragmentation function parameter on compression 2018-12-14 14:16:37 +01:00
6lo.h net/6lo: Remove fragmentation function parameter on compression 2018-12-14 14:16:37 +01:00
6lo_private.h
CMakeLists.txt net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
Kconfig net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
Kconfig.debug net: logs: Enable logging for NET_RAW 2019-01-03 12:33:54 -05:00
Kconfig.ipv4 net/icmpv4: Disable broadcast echo request reply by default 2019-01-08 13:42:18 +02:00
Kconfig.ipv6
Kconfig.mgmt
Kconfig.stack net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
Kconfig.stats net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
connection.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
connection.h
dhcpv4.c net/pkt: Remove parameters to "reserve" some headroom 2018-12-14 14:16:37 +01:00
dhcpv4.h
icmpv4.c net/icmpv4: A checksum value of 0 is valid 2019-01-04 10:46:52 -05:00
icmpv4.h net/icmpv4: Avoid input function to access IPv4 header again 2018-12-11 15:49:45 +02:00
icmpv6.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
icmpv6.h net/icmpv6: Refactoring ICMPv6 input end-point 2018-12-11 15:49:45 +02:00
ipv4.c net/icmpv4: Avoid input function to access IPv4 header again 2018-12-11 15:49:45 +02:00
ipv4.h
ipv4_autoconf.c net/pkt: Remove parameters to "reserve" some headroom 2018-12-14 14:16:37 +01:00
ipv4_autoconf_internal.h
ipv6.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
ipv6.h
ipv6_fragment.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
ipv6_mld.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
ipv6_nbr.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
nbr.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
nbr.h
net_context.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
net_core.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_if.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_mgmt.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
net_pkt.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_private.h net/pkt: Remove parameters to "reserve" some headroom 2018-12-14 14:16:37 +01:00
net_shell.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_shell.h net: shell: Migrate to new shell API 2018-10-15 11:14:02 +03:00
net_stats.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_stats.h net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_tc.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_tc_mapping.h
promiscuous.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
route.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
route.h
tcp.c net: tcp: do not drop successfully received packets 2019-01-16 13:11:39 +02:00
tcp_internal.h
trickle.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
udp.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
udp_internal.h
utils.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00