summaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorDavid Laight <David.Laight@ACULAB.COM>2014-07-22 08:59:08 +0000
committerDavid S. Miller <davem@davemloft.net>2014-07-22 13:32:10 -0700
commit723189faca78f2b70fcf9088f056a2440986cc45 (patch)
tree47b1dc85680d2e48e9a1a13c4bc2bad85c774d08 /fs/fs_struct.c
parent8fd90bb889635fa1e7f80a3950948cc2e74c1446 (diff)
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 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions