[SCTP]: Enable Nagle algorithm by default.
This allows more aggressive bundling of chunks when sending small messages. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f9317a40c4
commit
208edef6a5
|
@ -3084,8 +3084,8 @@ SCTP_STATIC int sctp_init_sock(struct sock *sk)
|
|||
*/
|
||||
sp->disable_fragments = 0;
|
||||
|
||||
/* Turn on/off any Nagle-like algorithm. */
|
||||
sp->nodelay = 1;
|
||||
/* Enable Nagle algorithm by default. */
|
||||
sp->nodelay = 0;
|
||||
|
||||
/* Enable by default. */
|
||||
sp->v4mapped = 1;
|
||||
|
|
Loading…
Reference in New Issue