[Midnightbsd-cvs] [MidnightBSD/src] 25852a: The e1000 network adapters permit a variety of mod...
Lucas Holt
noreply at github.com
Wed Apr 6 22:11:05 EDT 2022
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 25852adceedd4297892ab4f823b6985e7eea412d
https://github.com/MidnightBSD/src/commit/25852adceedd4297892ab4f823b6985e7eea412d
Author: Lucas Holt <luke at foolishgames.com>
Date: 2022-04-06 (Wed, 06 Apr 2022)
Changed paths:
M usr.sbin/bhyve/pci_e82545.c
Log Message:
-----------
The e1000 network adapters permit a variety of modifications to an Ethernet
packet when it is being transmitted. These include the insertion of IP and
TCP checksums, insertion of an Ethernet VLAN header, and TCP segmentation
offload ("TSO"). The e1000 device model uses an on-stack buffer to generate
the modified packet header when simulating these modifications on transmitted
packets.
When checksum offload is requested for a transmitted packet, the e1000 device
model used a guest-provided value to specify the checksum offset in the on-
stack buffer. The offset was not validated for certain packet types.
Obtained from: FreeBSD
More information about the Midnightbsd-cvs
mailing list