diff options
author | David Laight <David.Laight@ACULAB.COM> | 2014-07-22 12:59:08 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-23 00:32:10 +0400 |
commit | 723189faca78f2b70fcf9088f056a2440986cc45 (patch) | |
tree | 47b1dc85680d2e48e9a1a13c4bc2bad85c774d08 /mm/Makefile | |
parent | 8fd90bb889635fa1e7f80a3950948cc2e74c1446 (diff) | |
download | linux-723189faca78f2b70fcf9088f056a2440986cc45.tar.xz |
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 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions