aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r--net/dccp/ccids/ccid3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index 0751a8fa936a..0d406f82e433 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -269,11 +269,11 @@ out:
269 sock_put(sk); 269 sock_put(sk);
270} 270}
271 271
272/* 272/**
273 * returns 273 * ccid3_hc_tx_send_packet - Delay-based dequeueing of TX packets
274 * > 0: delay (in msecs) that should pass before actually sending 274 * @skb: next packet candidate to send on @sk
275 * = 0: can send immediately 275 * This function uses the convention of ccid_packet_dequeue_eval() and
276 * < 0: error condition; do not send packet 276 * returns a millisecond-delay value between 0 and t_mbi = 64000 msec.
277 */ 277 */
278static int ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) 278static int ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb)
279{ 279{
@@ -349,7 +349,7 @@ static int ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb)
349 349
350 /* set the nominal send time for the next following packet */ 350 /* set the nominal send time for the next following packet */
351 hctx->t_nom = ktime_add_us(hctx->t_nom, hctx->t_ipi); 351 hctx->t_nom = ktime_add_us(hctx->t_nom, hctx->t_ipi);
352 return 0; 352 return CCID_PACKET_SEND_AT_ONCE;
353} 353}
354 354
355static void ccid3_hc_tx_packet_sent(struct sock *sk, unsigned int len) 355static void ccid3_hc_tx_packet_sent(struct sock *sk, unsigned int len)