Unless the guest sets RCTL.LPE, the 8254x discards frames longer than
1522 bytes. The device model used that limit only to work out how many
descriptors a frame can take: a longer frame that fitted the buffers,
up to 2048 bytes with the usual buffer size, was handed to the guest.
A bridge with LRO enabled on a member delivered 1634-byte frames to
the tap interface. Linux's e1000 driver panicked in skb_put() and
Windows' driver stopped receiving.
Drop such frames as the hardware does.
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>
Sponsored by: keelos.dev