From: David Laight <David.Laight@xxxxxxxxxx> Date: Fri, 18 Jul 2014 17:36:24 +0000 > 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@xxxxxxxxxx> Please add the "sctp: " subsystem prefix to this subject line. -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html