zephyr/subsys/net/ip
Robert Lubos 81b92fcbb3 net: tcp: Verify accept callback before use
Closing a listening socket will set the accept callback to NULL.
This could lead to a crash, in case an already received packet,
finalizing the connection handshake, was processed after the socket was
closed. Thereby, it's needed to verify if the callback is actually set
before processing it.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-03-16 16:23:16 +01:00
..
6lo_private.h
6lo.c net: icmpv6: Remove in6_addr from packed structs 2021-11-25 10:46:35 -05:00
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00
connection.c net: ipv6: Remove in6_addr from packed net_ipv6_hdr struct 2021-11-25 10:46:35 -05:00
connection.h net: socket: Implement SO_BINDTODEVICE socket option 2021-04-02 07:23:17 -04:00
dhcpv4.c net: dhcpv4: Prevent DHCP client from clearing the gateway 2021-06-16 10:40:54 +02:00
dhcpv4.h
icmpv4.c net/icmpv4: Do not send error on a packet that was broadcasted 2021-12-21 17:12:33 +01:00
icmpv4.h
icmpv6.c net: ipv6: Remove in6_addr from packed net_ipv6_hdr struct 2021-11-25 10:46:35 -05:00
icmpv6.h net: icmpv6: Add support for Route Information option 2021-12-20 17:44:28 +01:00
igmp.c net: ipv4: Remove in_addr from packed net_ipv4_hdr struct 2021-11-25 10:46:35 -05:00
ipv4_autoconf_internal.h
ipv4_autoconf.c net: arp: Remove in_addr/in6_addr from packed net_arp_hdr struct 2021-11-25 10:46:35 -05:00
ipv4.c net: ipv4: Remove in_addr from packed net_ipv4_hdr struct 2021-11-25 10:46:35 -05:00
ipv4.h net: ipv4: Add IGMPv2 support 2021-04-29 14:49:55 +03:00
ipv6_fragment.c net: ipv6: Remove in6_addr from packed net_ipv6_hdr struct 2021-11-25 10:46:35 -05:00
ipv6_mld.c net: icmpv6: Remove in6_addr from packed structs 2021-11-25 10:46:35 -05:00
ipv6_nbr.c net: route: Add support for route preference 2021-12-20 17:44:28 +01:00
ipv6.c net: route: Add support for route preference 2021-12-20 17:44:28 +01:00
ipv6.h net: ip: replace hardcoded NET_IPV6_FRAGMENTS_MAX_PKT with a Kconfig 2021-09-23 13:21:09 -04:00
Kconfig net: if: add default selection of first up interface 2022-03-10 13:24:03 -05:00
Kconfig.debug kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.ipv4 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.ipv6 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.mgmt kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stack
Kconfig.stats net: stats: Add IGMP statistics support 2021-04-29 14:49:55 +03:00
nbr.c
nbr.h
net_context.c net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00
net_core.c net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
net_if.c net: if: add default selection of first up interface 2022-03-10 13:24:03 -05:00
net_mgmt.c net: mgmt: Use mutex for net_mgmt_lock 2022-01-22 16:56:09 -05:00
net_pkt.c net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
net_private.h kernel: atomics: update print specifiers for atomic_t 2021-11-15 09:59:01 -05:00
net_shell.c net: shell: Fix packet leak in TCP receive handler 2022-03-11 09:21:51 +01:00
net_shell.h
net_stats.c
net_stats.h net: stats: Add IGMP statistics support 2021-04-29 14:49:55 +03:00
net_tc_mapping.h net: Enable running without TX or RX threads 2021-04-27 12:02:19 +03:00
net_tc.c all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
net_timeout.c net: timeout: refactor to fix multiple problems 2021-01-07 11:14:38 +02:00
packet_socket.c net: ip: packet_socket: fixing raw sckt IPPROTO_RAW usage 2021-09-14 08:37:36 -04:00
packet_socket.h net: socket: packet: using pckt sckt for passing the PPP dialup data 2021-04-01 09:43:56 +03:00
promiscuous.c
route.c net: ip: route: Fix log_strdup misuse 2021-12-22 12:13:55 +01:00
route.h net: route: Add support for route preference 2021-12-20 17:44:28 +01:00
tcp_internal.h net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00
tcp_private.h net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00
tcp.c net: tcp: Verify accept callback before use 2022-03-16 16:23:16 +01:00
tcp.h net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00
tp_priv.h
tp.c
tp.h
trickle.c kernel: workq: Fix type errors in delayable work handlers 2022-02-02 18:43:12 -05:00
udp_internal.h net: socket: Implement SO_BINDTODEVICE socket option 2021-04-02 07:23:17 -04:00
udp.c net: socket: Implement SO_BINDTODEVICE socket option 2021-04-02 07:23:17 -04:00
utils.c net: ipv4: Add IGMPv2 support 2021-04-29 14:49:55 +03:00