Re: sorflush hack

2017-12-27 Thread Alexander Bluhm
On Wed, Dec 27, 2017 at 04:58:07PM +0100, Martin Pieuchot wrote: > Simpler diff that just do the zeroing, anyone? OK bluhm@ > Index: kern/uipc_socket.c > === > RCS file: /cvs/src/sys/kern/uipc_socket.c,v > retrieving revision 1.212 >

Re: sorflush hack

2017-12-27 Thread Martin Pieuchot
On 11/12/17(Mon) 08:55, Martin Pieuchot wrote: > Diff below shuffle the socket buffer definition to "properly" memset() > all required fields in sorflush(). It also gets rid of the sbrelease() > abstraction since zeroing out `sb_hiwat' and `sb_mbmax' is required in > only one place. Simpler diff

sorflush hack

2017-12-10 Thread Martin Pieuchot
Diff below shuffle the socket buffer definition to "properly" memset() all required fields in sorflush(). It also gets rid of the sbrelease() abstraction since zeroing out `sb_hiwat' and `sb_mbmax' is required in only one place. ok? Index: kern/uipc_socket.c =