aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/quot/quot.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-02-15 19:46:00 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-02-15 19:46:00 +0000
commit605703b5dfe92b64a2127637f30db6385a89f685 (patch)
tree39c98df905e9b713d4a5fad2ae9c594ee109f3f8 /usr.sbin/quot/quot.c
parent08c6504d07c7c7094603f6d62319cd3ddc348a6f (diff)
downloadsrc-605703b5dfe92b64a2127637f30db6385a89f685.tar.gz
src-605703b5dfe92b64a2127637f30db6385a89f685.zip
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
Notes: svn path=/head/; revision=313779
Diffstat (limited to 'usr.sbin/quot/quot.c')
0 files changed, 0 insertions, 0 deletions