OSDN Git Service
(root)
/
android-x86
/
kernel.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
79c3e07
..
3fe906d
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;