|author||Alexander Motin <mav@FreeBSD.org>||2017-02-15 19:46:00 +0000|
|committer||Alexander Motin <mav@FreeBSD.org>||2017-02-15 19:46:00 +0000|
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. MFC after: 2 weeks
Notes: svn path=/head/; revision=313779
Diffstat (limited to 'sbin/fsdb')
0 files changed, 0 insertions, 0 deletions