commit | e43569e6d3c71eb266641c6297ea54f7ac66954f | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Fri Apr 01 14:05:48 2016 -0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 05 15:39:44 2016 -0400 |
tree | 7104bb69c8ffba181f3c296aa1534bc11bddd5fc | |
parent | c862cc9b70526a71d07e7bd86d9b61d1c792cead [diff] |
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>