mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
net: sctp: Rename SCTP_XMIT_NAGLE_DELAY to SCTP_XMIT_DELAY
MSG_MORE and 'corking' a socket would require that the transmit of a data chunk be delayed. Rename the return value to be less specific. 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>
This commit is contained in:
parent
723189faca
commit
526cbef778
3 changed files with 5 additions and 5 deletions
|
@ -629,7 +629,7 @@ redo:
|
|||
done = 1;
|
||||
break;
|
||||
|
||||
case SCTP_XMIT_NAGLE_DELAY:
|
||||
case SCTP_XMIT_DELAY:
|
||||
/* Send this packet. */
|
||||
error = sctp_packet_transmit(pkt);
|
||||
|
||||
|
@ -1015,7 +1015,7 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)
|
|||
switch (status) {
|
||||
case SCTP_XMIT_PMTU_FULL:
|
||||
case SCTP_XMIT_RWND_FULL:
|
||||
case SCTP_XMIT_NAGLE_DELAY:
|
||||
case SCTP_XMIT_DELAY:
|
||||
/* We could not append this chunk, so put
|
||||
* the chunk back on the output queue.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue