Re: [PATCH] dont increase the size of socket buffers in low memory situations

2016-07-06 Thread Alexander Bluhm
On Tue, Jul 05, 2016 at 03:44:17PM +0200, Simon Mages wrote: > Thats true, i found also another bug in this diff, the new one follows. OK bluhm@ > Index: netinet/tcp_usrreq.c > === > RCS file: /cvs/src/sys/netinet/tcp_usrreq.c,v > re

Re: [PATCH] dont increase the size of socket buffers in low memory situations

2016-07-05 Thread Simon Mages
2016-07-05 15:36 GMT+02:00, Claudio Jeker : > On Tue, Jul 05, 2016 at 07:22:27AM -0600, Bob Beck wrote: >> Makes sense to me. Others? >> >> >> On Tue, Jul 5, 2016 at 4:08 AM, Simon Mages >> wrote: >> > At the moment the buffersize will be set to the default even if the >> > current value >> > is

Re: [PATCH] dont increase the size of socket buffers in low memory situations

2016-07-05 Thread Claudio Jeker
On Tue, Jul 05, 2016 at 07:22:27AM -0600, Bob Beck wrote: > Makes sense to me. Others? > > > On Tue, Jul 5, 2016 at 4:08 AM, Simon Mages > wrote: > > At the moment the buffersize will be set to the default even if the > > current value > > is smaller. > > > > The following diff fixes this prob

Re: [PATCH] dont increase the size of socket buffers in low memory situations

2016-07-05 Thread Bob Beck
Makes sense to me. Others? On Tue, Jul 5, 2016 at 4:08 AM, Simon Mages wrote: > At the moment the buffersize will be set to the default even if the > current value > is smaller. > > The following diff fixes this problem. > > Index: netinet/tcp_usrreq.c >

[PATCH] dont increase the size of socket buffers in low memory situations

2016-07-05 Thread Simon Mages
At the moment the buffersize will be set to the default even if the current value is smaller. The following diff fixes this problem. Index: netinet/tcp_usrreq.c === RCS file: /cvs/src/sys/netinet/tcp_usrreq.c,v retrieving revision 1.