commit | b29e7907288554db9c987c36facfd0304ee8ff5a | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vladislav.yasevich@hp.com> | Fri Sep 04 18:20:59 2009 -0400 |
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | Fri Sep 04 18:20:59 2009 -0400 |
tree | 5a20e7c0e59cfc986b20b915f5bd624850d56619 | |
parent | d4d6fb5787a6ef6e1dab731d617ebda6be73d561 [diff] |
sctp: Nagle delay should be based on path mtu The decision to delay due to Nagle should be based on the path mtu and future packet size. We currently incorrectly base it on 'frag_point' which is the SCTP DATA segment size, and also we do not count DATA chunk header overhead in the computation. This actuall allows situations where a user can set low 'frag_point', and then send small messages without delay. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>