projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9317a4
)
[SCTP]: Enable Nagle algorithm by default.
author
Sridhar Samudrala
<sri@us.ibm.com>
Sat, 30 Sep 2006 00:08:01 +0000
(17:08 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 30 Sep 2006 00:08:01 +0000
(17:08 -0700)
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>
net/sctp/socket.c
patch
|
blob
|
history
diff --git
a/net/sctp/socket.c
b/net/sctp/socket.c
index 79c3e072cf282027f3988c17d90bbc2c6c2143b8..3fe906d6506982f9e1c7a0bdcf6e67b6d2772d58 100644
(file)
--- 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;