HomeFreeBSD

MFC r313779: Fix handling of negative sbspace() return values.

Description

MFC r313779: Fix handling of negative sbspace() return values.

I found that at least with Chelsio NICs TOE sockets quite often report
negative sbspace() values. Using unsigned variable to store it resulted
in attempts to aggregate too much data in one sosend() call, that caused
errors and following connection termination.

Details

Provenance
mavAuthored on
Parents
rS314464: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
Branches
Unknown
Tags
Unknown