freebsd-nq/sys/dev/vmware
Andriy Gapon 9c612a5d0a vmxnet3: skip zero-length descriptor in the middle of a packet
Passing up such descriptors to iflib is obviously wasteful.
But the main conern is that we may overrun iri_frags array because of
them.  That's been observed in practice.

Also, assert that the number of fragments / descriptors / segments is
less than IFLIB_MAX_RX_SEGS.

Reviewed by:	gallatin, pkelsey
MFC after:	3 weeks
Sponsored by:	Panzura LLC
Differential Revision:	https://reviews.freebsd.org/D33189
2021-12-06 10:00:30 +02:00
..
pvscsi
vmci vmci: Avoid relying on macro expansion to provide correct syntax 2021-11-03 11:22:40 -04:00
vmxnet3 vmxnet3: skip zero-length descriptor in the middle of a packet 2021-12-06 10:00:30 +02:00