From: Sridhar Samudrala Date: Sat, 30 Sep 2006 00:08:01 +0000 (-0700) Subject: [SCTP]: Enable Nagle algorithm by default. X-Git-Tag: v2.6.19-rc1~647^2~11 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=208edef6a5b6c50363c77efcf34c4b4020681029;p=~shefty%2Frdma-dev.git [SCTP]: Enable Nagle algorithm by default. This allows more aggressive bundling of chunks when sending small messages. Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller --- diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 79c3e072cf2..3fe906d6506 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -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;