Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 208edef6 authored by Sridhar Samudrala's avatar Sridhar Samudrala Committed by David S. Miller
Browse files

[SCTP]: Enable Nagle algorithm by default.



This allows more aggressive bundling of chunks when sending small
messages.

Signed-off-by: default avatarSridhar Samudrala <sri@us.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f9317a40
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;