summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Laight <David.Laight@ACULAB.COM>2014-07-22 10:59:08 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-22 22:32:10 +0200
commit723189faca78f2b70fcf9088f056a2440986cc45 (patch)
tree47b1dc85680d2e48e9a1a13c4bc2bad85c774d08 /include
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-723189faca78f2b70fcf9088f056a2440986cc45.tar.xz
linux-723189faca78f2b70fcf9088f056a2440986cc45.zip
net: sctp: Open out the check for Nagle
The check for Nagle contains 6 separate checks all of which must be true before a data packet is delayed. Separate out each into its own 'if (test) return SCTP_XMIT_OK' so that the reasons can be individually described. Also return directly with SCTP_XMIT_RWND_FULL. Delete the now-unused 'retval' variable and 'finish' label from sctp_packet_can_append_data(). Signed-off-by: David Laight <david.laight@aculab.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions