zephyr/subsys/net/ip
Tomasz Bursztyka 467c69d524 net: tcp: Fix TCP states swap when accepted an incoming connection
TCP states are swaped between "server" context and the new connection
context. But in any case the "server" context should loose the
information that makes it able to accept other new connections.

The swap was badly made, as the "server" context was loosing the
accept_cb (!) and the user data pointer. Instead the new connection
context was unrelevantly inheriting those.

Change-Id: Icc877449e1d4c4e59553dcbfd41718c5006edca0
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-01-20 16:23:21 +02:00
..
l2 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
6lo_private.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
6lo.c net: 6lo: Fix dereferencing null pointer 2017-01-20 16:23:18 +02:00
6lo.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
connection.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
connection.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
dhcpv4.c net: dhcpv4: Remove dead code 2017-01-20 16:23:18 +02:00
icmpv4.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
icmpv4.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
icmpv6.c net: icmpv6: Removing dead code 2017-01-20 16:23:18 +02:00
icmpv6.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ipv4.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ipv4.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ipv6.c net: ipv6: Check neighbor pointer in NS reply timeout 2017-01-20 16:23:18 +02:00
ipv6.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.debug license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.ipv4 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.ipv6 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.mgmt license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.rpl license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.samples license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stack license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stats license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile net: in newlib, ESHUTDOWN is considered an extension 2017-01-20 16:23:20 +02:00
nbr.c net: linkaddr: introduce net_linkaddr_set function 2017-01-20 16:23:16 +02:00
nbr.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
nbuf.c net: nbuf: Fix debug prints in memory pool init and unref 2017-01-20 16:23:20 +02:00
net_context.c net: tcp: Fix TCP states swap when accepted an incoming connection 2017-01-20 16:23:21 +02:00
net_core.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_if.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_mgmt.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_private.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_shell.c net: shell: Use lighter printk() instead of printf() 2017-01-20 16:23:19 +02:00
net_shell.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_stats.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_stats.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
route.c net: route: remove extra variable use in net_route_add() 2017-01-20 16:23:16 +02:00
route.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rpl-mrhof.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rpl-of0.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rpl.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rpl.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
tcp.c net: tcp: add timeout wait in net_context_connect 2017-01-20 16:23:20 +02:00
tcp.h net: tcp: add timeout wait in net_context_connect 2017-01-20 16:23:20 +02:00
trickle.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
udp.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
utils.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00