zephyr/subsys/net/ip
Kieran Tyrrell a714b42080 net: ip: fix promiscuous mode altering packets
Always clone net_pkt to pass to promiscuous queue.
Previously, net_pkt was passed to L2 before conditionally cloning.
But L2 would in some cases strip ethernet headers, so cloned
net_pkt received through promiscuous interface would be missing headers.

Signed-off-by: Kieran Tyrrell <kieran@sienda.com>
2023-10-03 15:10:57 +01:00
..
6lo_private.h
6lo.c net: ip: 6lo: Fix corner case with packet format after IPHC 2023-02-19 20:33:36 -05:00
6lo.h
canbus_socket.c net: core: clean up inbound packet handling 2022-09-05 14:35:17 +00:00
canbus_socket.h
CMakeLists.txt net: icmp: Introduce new API to send ICMP messages 2023-09-28 09:34:20 +02:00
connection.c net: sockets: add support for SO_REUSEPORT 2023-09-20 08:56:31 +02:00
connection.h net: lib: sockets: improve scalability through a hidden var 2022-09-05 14:35:17 +00:00
dhcpv4.c net: dhcpv4: Accept unicast replies 2023-07-25 14:15:45 +02:00
dhcpv4.h net: dhcpv4: Accept unicast replies 2023-07-25 14:15:45 +02:00
dhcpv6_internal.h net: dhcpv6: Add Zephyr DHCPv6 client 2023-09-28 09:31:20 +02:00
dhcpv6.c net: dhcpv6: Fix params check 2023-10-03 15:10:41 +01:00
icmp.c net: icmp: Add offloading support 2023-09-28 09:34:20 +02:00
icmpv4.c net: icmp: Don't unref net_pkt from the registered handler 2023-09-29 18:49:43 +03:00
icmpv4.h net: Use the ICMP API for receiving ICMP messages 2023-09-28 09:34:20 +02:00
icmpv6.c net: icmp: Don't unref net_pkt from the registered handler 2023-09-29 18:49:43 +03:00
icmpv6.h net: Use the ICMP API for receiving ICMP messages 2023-09-28 09:34:20 +02:00
igmp.c net: iface: Improve thread safety of net_if_ipv*_maddr_* functions 2023-05-10 11:06:15 +02:00
ipv4_autoconf_internal.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
ipv4_autoconf.c net: ipv4: Fix subnet mask setting when autoconf is used 2023-02-06 10:10:54 +01:00
ipv4_fragment.c net: Deprecated and unused flags cleanup. 2023-09-21 13:36:20 +02:00
ipv4.c net: dhcpv4: Accept unicast replies 2023-07-25 14:15:45 +02:00
ipv4.h net: context: Set priority based on DSCP 2023-05-16 13:21:25 +02:00
ipv6_fragment.c net: fix few mismatched CONTAINER_OF 2023-08-30 10:21:31 +02:00
ipv6_mld.c net: icmp: Don't unref net_pkt from the registered handler 2023-09-29 18:49:43 +03:00
ipv6_nbr.c net: icmp: Don't unref net_pkt from the registered handler 2023-09-29 18:49:43 +03:00
ipv6.c net: pkt_filter: Introduce additional hooks for pkt_filter 2023-07-10 09:27:47 +02:00
ipv6.h net: context: Set priority based on DSCP 2023-05-16 13:21:25 +02:00
Kconfig net: icmp: Add offloading support 2023-09-28 09:34:20 +02:00
Kconfig.debug
Kconfig.ipv4 net: dhcpv4: Accept unicast replies 2023-07-25 14:15:45 +02:00
Kconfig.ipv6 net: dhcpv6: Add Zephyr DHCPv6 client 2023-09-28 09:31:20 +02:00
Kconfig.mgmt kernel/timeout: introduce the timepoint API 2023-07-25 09:12:26 +02:00
Kconfig.stack
Kconfig.stats net: ip: stats: changed dependency for PPP stats 2023-09-15 15:13:06 -05:00
nbr.c
nbr.h
net_context.c net: pkt: time: introduce ns timestamp helper 2023-09-29 16:27:15 +02:00
net_core.c net: dhcpv6: Add Zephyr DHCPv6 client 2023-09-28 09:31:20 +02:00
net_if.c net: ip: fix promiscuous mode altering packets 2023-10-03 15:10:57 +01:00
net_mgmt.c net: mgmt: Fix memory corruption in wait_on_iface 2023-09-07 09:44:06 +02:00
net_pkt.c net: ip: Add cloning of missing attributes 2023-09-21 13:36:20 +02:00
net_private.h net: icmp: Introduce new API to send ICMP messages 2023-09-28 09:34:20 +02:00
net_shell.c kernel: Re-factor k_mem_slab definition 2023-09-30 08:04:14 +03:00
net_shell.h
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
net_timeout.c
packet_socket.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
packet_socket.h
promiscuous.c
route.c net: fix few mismatched CONTAINER_OF 2023-08-30 10:21:31 +02:00
route.h
tcp_internal.h net: socket: asynchronous connect 2023-04-17 11:35:20 +02:00
tcp_private.h net: tcp: Implement TCP new Reno collision avoidance 2023-08-04 15:05:17 +02:00
tcp.c net: sockets: add support for SO_REUSEADDR 2023-09-20 08:56:31 +02:00
tcp.h net: tcp: Remove net_tcp_unref() 2023-01-26 12:34:04 +00:00
tp_priv.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tp.c
tp.h all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
trickle.c
udp_internal.h
udp.c
utils.c net: utils: fix offset used before range check 2023-06-16 05:46:05 -04:00