commit | e43246b7561f7820afce3a9b8b18b21d38fa094e | [log] [tgz] |
---|---|---|
author | Christoph Seitz <christoph.seitz@infineon.com> | Thu Mar 06 10:21:50 2025 +0100 |
committer | Benjamin Cabé <kartben@gmail.com> | Wed Mar 12 02:29:02 2025 +0100 |
tree | bc9fa34a363466d99fd095f110dd562c285002d7 | |
parent | c5aaf3d26ae91d1f18300977ca501f2bfc551198 [diff] |
net: ethernet: Fix length update for unsupported packet families Do not update packet length for unsupported packet families. AF_PACKET family used the IPv6 length update, which breaks the packet length if there is a payload with bytes resembling a IPv6 length field less then 6 or a IPv4 length field less then 46. Signed-off-by: Christoph Seitz <christoph.seitz@infineon.com>