You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
(cherry picked from commit 21b7122)
Original-Signed-off-by: Robert Lubos <[email protected]>
GitOrigin-RevId: 21b7122
Cr-Build-Id: 8724909411128659441
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8724909411128659441
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I1c2421576ecab8bd23a0cb3fefafab8bff669c23
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6196365
Bot-Commit: ChromeOS Prod (Robot) <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: ChromeOS Prod (Robot) <[email protected]>
0 commit comments