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, Apr 20, 3:26 AM
Unknown Object (File)
Feb 12 2024, 2:12 PM
Unknown Object (File)
Feb 9 2024, 11:26 PM
Unknown Object (File)
Dec 22 2023, 10:47 PM
Unknown Object (File)
Dec 20 2023, 2:58 AM
Unknown Object (File)
Oct 28 2023, 1:18 AM
Unknown Object (File)
Sep 18 2023, 9:36 AM
Unknown Object (File)
Sep 18 2023, 9:32 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 Passed
Unit
No Test Coverage
Build Status
Buildable 9458
Build 9910: arc lint + arc unit

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.