[Bug 270285] Network issue with very small frames (tcp, padded)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Mar 2023 12:58:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270285

Michael Tuexen <tuexen@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tuexen@freebsd.org

--- Comment #1 from Michael Tuexen <tuexen@freebsd.org> ---
The two bytes after the IPv4 packet are padding. It is required, since the an
ethernet frame must be at least of 64 bytes. The last 4 bytes are frame check
sequence, so there must be 60 bytes. The IPv4 packet is 44 bytes, plus 6 bytes
source, 6 bytes dest, 2 bytes upper layer information makes 58 bytes. Therefore
2 bytes is appended.
See https://en.wikipedia.org/wiki/Ethernet_frame
So the packet looks correct to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.