zephyr/subsys/net/l2
Robert Lubos 21b71224ac net: ethernet: Remove L2 header stripping after TX
It seems that this change was solely added to address issues with old
TCP stack, which blindly queued packets intended for TX for potential
further retransmission, expecting that the packet would remain intact
during transmission.

I think this assumption was wrong, as it's natural that lower layers
append respective headers to the packet, and this "header stripping"
behavior was specific for Ethernet L2 only. If an upper layer expects
that the packet would need to be retransmitted at some point, it should
clone it instead.

Therefore, remove the L2 header stripping from the Ethernet L2 to avoid
any potential issues in zero-copy case.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-01-23 16:31:41 +01:00
..
canbus
dummy net: Implement pseudo a.k.a "any" interface 2024-04-04 17:02:11 +02:00
ethernet net: ethernet: Remove L2 header stripping after TX 2025-01-23 16:31:41 +01:00
ieee802154 net: l2: ieee802154: shell: Fix stringop-truncation 2024-10-09 13:50:00 +02:00
offloaded_netdev
openthread net: openthread: Allow a platform to select a Settings backend. 2024-12-02 18:18:20 +01:00
ppp net: l2: ppp: ensure proper null-termination in ppp_fsm_close 2024-08-14 09:40:23 +02:00
virtual net: ethernet/vlan: Add support for embedding ll header 2024-12-19 10:21:28 +01:00
wifi net: wifi: shell: fix 11k neighbor request cannot specify ssid 2025-01-10 09:49:55 +01:00
CMakeLists.txt Network: L2: remove IPSP 2024-04-11 12:48:50 +02:00
Kconfig Network: L2: remove IPSP 2024-04-11 12:48:50 +02:00