zephyr/subsys/net
Rex Chen dcf42917c5 net: lib: dhcpv4: Add check for input parameter of echo_reply_handler
For station and internal AP coexist case, station connected to
external AP, ping from station to external AP cause cpu hang.

Internal AP dhcpv4 server register handler echo_reply_handler
on icmp handler by net_icmp_init_ctx for dhcp server snoop
feature. Ping also register handler handle_ipv4_echo_reply on
icmp handler for ping cmd. If no external station connect to
internal AP, input parameter ‘user_data’ of function
echo_reply_handler is NULL. When we trigger ping process,
icmp_call_handlers fetch all handlers from icmp handler
if receive any ICMP packet, so echo_reply_handler be called,
but input parameter is NULL, cause CPU hang.
Add input parameters check to fix this issue.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2024-06-18 11:07:09 +02:00
..
conn_mgr net: conn_mgr: Add IPv4 and IPv6 tracking 2024-06-10 00:59:34 -07:00
ip net: Support partial checksum offloading 2024-06-14 17:10:43 -04:00
l2 net: l2: ethernet: arp: Simplify ACD case 2024-06-10 00:59:28 -07:00
lib net: lib: dhcpv4: Add check for input parameter of echo_reply_handler 2024-06-18 11:07:09 +02:00
pkt_filter
buf_simple.c net: buf_simple: Add support for 40 bit data type 2024-03-26 19:32:27 -04:00
buf.c net: buf: Disallow blocking allocation in syswq 2024-04-23 19:47:24 -04:00
CMakeLists.txt
hostname.c logging: net: update hostname 2024-01-17 14:42:58 +01:00
Kconfig
Kconfig.hostname net: add set hostname function 2024-01-17 14:42:58 +01:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net