HomeFreeBSD

Don't free the work queue entry that we're using to hold the scatter-gather
rS216064Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Don't free the work queue entry that we're using to hold the scatter-gather
list on exit from the transmit path. The scatter-gather list itself can be
asynchronously DMAed to the transmit hardware, and we could actually lock up
the transmitter if any of a number of races around this were lost.

Instead, let the PKO free the scatter-gather list when it is done with it, and
use the "i" bit in each segment of the packet to avoid having them go into the
FPA.

This fixes an unrecoverable transmit stall under transmit load.

MFC after: 3 days

Details

Provenance
jmallettAuthored on
Parents
rS216063: Fix a race condition exists in the OpenSSL TLS server extension code and
Branches
Unknown
Tags
Unknown

Event Timeline