X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=net%2Fsctp%2Foutput.c;fp=net%2Fsctp%2Foutput.c;h=a646681f5acdffe30cd7b5b2f06c3bbf413609a6;hb=0e3aef8d09a8c11e3fb83cdcb24b5bc7421b3726;hp=35e49b9df4e09c6f37c7dacdb47e13192dfad9c4;hpb=bfa0d9843ac5feb9667990706b4524390fee4df9;p=safe%2Fjmp%2Flinux-2.6 diff --git a/net/sctp/output.c b/net/sctp/output.c index 35e49b9..a646681 100644 --- 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; }