net: ethernet: Refactor length check to accommodate VLAN header size
The ethernet header size with VLAN tag is 18 bytes,
so the length check should accommodate this.
Signed-off-by:
Christoph Seitz <christoph.seitz@infineon.com>
Loading
Please sign in to comment