git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sctp: Tag messages that can be Nagle delayed at creation.
[safe/jmp/linux-2.6]
/
net
/
sctp
/
output.c
diff --git
a/net/sctp/output.c
b/net/sctp/output.c
index
35e49b9
..
a646681
100644
(file)
--- a/
net/sctp/output.c
+++ b/
net/sctp/output.c
@@
-674,7
+674,7
@@
static sctp_xmit_t sctp_packet_can_append_data(struct sctp_packet *packet,
* Don't delay large message writes that may have been
* fragmeneted into small peices.
*/
- if ((len < max) &&
(chunk->msg->msg_size < max)
) {
+ if ((len < max) &&
chunk->msg->can_delay
) {
retval = SCTP_XMIT_NAGLE_DELAY;
goto finish;
}