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)
Sun, Oct 12, 8:58 AM
Unknown Object (File)
Mon, Sep 29, 5:54 PM
Unknown Object (File)
Sat, Sep 27, 5:14 AM
Unknown Object (File)
Sep 17 2025, 4:16 AM
Unknown Object (File)
Sep 15 2025, 3:34 AM
Unknown Object (File)
Sep 8 2025, 12:31 PM
Unknown Object (File)
Aug 18 2025, 5:44 AM
Unknown Object (File)
Jul 26 2025, 6:36 PM
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.