sctp: Tag messages that can be Nagle delayed at creation.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 1 May 2010 02:41:10 +0000 (22:41 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 1 May 2010 02:41:10 +0000 (22:41 -0400)
commit0e3aef8d09a8c11e3fb83cdcb24b5bc7421b3726
tree62e19d24380a9a8308d0ef3f2186742944971a5c
parentbfa0d9843ac5feb9667990706b4524390fee4df9
sctp: Tag messages that can be Nagle delayed at creation.

When we create the sctp_datamsg and fragment the user data,
we know exactly if we are sending full segments or not and
how they might be bundled.  During this time, we can mark
messages a Nagle capable or not.  This makes the check at
transmit time much simpler.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/structs.h
net/sctp/chunk.c
net/sctp/output.c