CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/08/27 11:10:45
Modified files:
sys/netinet : tcp_usrreq.c
Log message:
When the dynamic TCP update is reducing so->so_snd.sb_hiwat the
sbspace() in the socket buffer shrinks. So a writable socket
reported by poll(2) could become unwritable before calling write(2).
Ensure that a writable or readable socket can still be written to
or read from after changing the buffer size.
Discussed with and OK millert@ deraadt@ claudio@
