zephyr/subsys/net/l2/ethernet
Chaitanya Tata 4cd6654b21 net: l2: Add a config option to allow mismatched L3/L2 address packets
The RFC1122 section 3.3.6 says we SHOULD drop the packets if L2 address
is brodcast but L3 address is unicast, but we had seen some Wi-Fi access
points in the field not conforming to that, and DHCP offer is dropped
due to this and causes Wi-Fi connectivity issues.

As the RFC saus it's SHOULD and not a MUST, add a config option to allow
such packets, disabled by default.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-02-06 17:48:37 +01:00
..
dsa
gptp net: Extend the protocol handling in Ethernet 2025-01-20 09:21:32 +01:00
lldp net: Extend the protocol handling in Ethernet 2025-01-20 09:21:32 +01:00
arp.c net: arp: Set family and proto type for all ARP packets 2025-02-05 12:36:25 +01:00
arp.h
bridge_shell.c net: bridge: Overhaul the code to use virtual interfaces 2024-09-06 18:01:15 -04:00
bridge.c net: ethernet: bridge: Drop the cloned packet in error 2024-11-28 12:50:36 +01:00
bridge.h net: bridge: Overhaul the code to use virtual interfaces 2024-09-06 18:01:15 -04:00
CMakeLists.txt
eth_stats.h
ethernet_mgmt.c net: l2: ethernet: Fix interface state check 2025-01-29 04:17:21 +01:00
ethernet_stats.c
ethernet.c net: l2: Add a config option to allow mismatched L3/L2 address packets 2025-02-06 17:48:37 +01:00
Kconfig net: l2: Add a config option to allow mismatched L3/L2 address packets 2025-02-06 17:48:37 +01:00
vlan.c net: vlan: Allow VLAN count to be set to 0 2025-01-31 16:12:50 +01:00