HomeFreeBSD

Correct possible underflow conditions when checking for available space

Description

Correct possible underflow conditions when checking for available space
in the tx h/w ring buffer.

Reviewed by: gnn jeb.j.cramer@intel.com
MFC after: 1 week
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D5918

Details

Provenance
sbrunoAuthored on
Reviewer
gnn
Differential Revision
D5918: Avoid underflow during calculation of space avail for nsegs
Parents
rS298223: Address issues found by the XCode code analyzer.
Branches
Unknown
Tags
Unknown