Page MenuHomeFreeBSD

vmxnet3 crash when LRO is enabled
ClosedPublic

Authored by avg on May 23 2017, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 2:51 AM
Unknown Object (File)
Mon, Oct 28, 10:06 PM
Unknown Object (File)
Mon, Oct 28, 9:44 PM
Unknown Object (File)
Sep 18 2024, 1:05 PM
Unknown Object (File)
Sep 18 2024, 10:01 AM
Unknown Object (File)
Sep 17 2024, 4:15 PM
Unknown Object (File)
Sep 14 2024, 1:36 PM
Unknown Object (File)
Sep 5 2024, 10:52 AM
Subscribers

Details

Summary

The crash can occur when all of the following conditions are true:

  • a packet consists of multiple segements (requires LRO enabled)
  • there has been a failure to allocate an mbuf for the packet and the packet has to be dropped
  • a host (vmware) still owned at least one segment of the packet, so the driver had to wait for another interrupt to proceed to discarding the remaning segment(s)

The work was sponsored by Panzura who run into the problem.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

@rstone this is based on the discussion that we had on the IRC and the suggestion you made.

This revision is now accepted and ready to land.May 24 2017, 7:23 PM
This revision was automatically updated to reflect the committed changes.