From: David Laight Date: Tue, 22 Jul 2014 08:59:08 +0000 (+0000) Subject: net: sctp: Open out the check for Nagle X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=723189faca78f2b70fcf9088f056a2440986cc45;p=pandora-kernel.git 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 Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed