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

2016-04-05 Thread David Miller
From: Marcelo Ricardo Leitner Date: Fri, 1 Apr 2016 14:05:48 -0300 > There is no point on 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. > > v2: based on the right

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

2016-04-01 Thread Marcelo Ricardo Leitner
There is no point on 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. v2: based on the right tree Signed-off-by: Marcelo Ricardo Leitner --- net/sctp/output.c | 3 ++- 1