Re: [PATCH] sctp: flush if we can't fit another DATA chunk

2016-03-30 Thread Neil Horman
On Wed, Mar 30, 2016 at 03:46:22PM -0400, David Miller wrote: > From: Marcelo Ricardo Leitner > Date: Tue, 29 Mar 2016 10:41:25 -0300 > > > There is no point in delaying the packet if we can't fit a single byte > > of data on it anymore. So lets just reduce the threshold by the amount > > that a

Re: [PATCH] sctp: flush if we can't fit another DATA chunk

2016-03-30 Thread marcelo . leitner
On Wed, Mar 30, 2016 at 03:46:22PM -0400, David Miller wrote: > From: Marcelo Ricardo Leitner > Date: Tue, 29 Mar 2016 10:41:25 -0300 > > > There is no point in delaying the packet if we can't fit a single byte > > of data on it anymore. So lets just reduce the threshold by the amount > > that a

Re: [PATCH] sctp: flush if we can't fit another DATA chunk

2016-03-30 Thread David Miller
From: Marcelo Ricardo Leitner Date: Tue, 29 Mar 2016 10:41:25 -0300 > There is no point in delaying the packet if we can't fit a single byte > of data on it anymore. So lets just reduce the threshold by the amount > that a data chunk with 4 bytes (rounding) would use. > > Signed-off-by: Marcelo

Re: [PATCH] sctp: flush if we can't fit another DATA chunk

2016-03-30 Thread Neil Horman
On Tue, Mar 29, 2016 at 10:41:25AM -0300, Marcelo Ricardo Leitner wrote: > There is no point in delaying the packet if we can't fit a single byte > of data on it anymore. So lets just reduce the threshold by the amount > that a data chunk with 4 bytes (rounding) would use. > > Signed-off-by: Marce

[PATCH] sctp: flush if we can't fit another DATA chunk

2016-03-29 Thread Marcelo Ricardo Leitner
There is no point in delaying the packet if we can't fit a single byte of data on it anymore. So lets just reduce the threshold by the amount that a data chunk with 4 bytes (rounding) would use. Signed-off-by: Marcelo Ricardo Leitner --- net/sctp/output.c | 3 ++- 1 file changed, 2 insertions(+)