Searched hist:e43569e6d3c71eb266641c6297ea54f7ac66954f (Results 1 – 1 of 1) sorted by relevance
/linux/net/sctp/ |
H A D | output.c | diff e43569e6d3c71eb266641c6297ea54f7ac66954f Fri Apr 01 19:05:48 CEST 2016 Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> sctp: flush if we can't fit another DATA chunk
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 <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|