Skip to content
Commit e43246b7 authored by Christoph Seitz's avatar Christoph Seitz Committed by Benjamin Cabé
Browse files

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: default avatarChristoph Seitz <christoph.seitz@infineon.com>
parent c5aaf3d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment