aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dccp/output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/output.c b/net/dccp/output.c
index aa21cc4de37f..c8d843e983fc 100644
--- a/net/dccp/output.c
+++ b/net/dccp/output.c
@@ -194,6 +194,7 @@ static int dccp_wait_for_ccid(struct sock *sk, struct sk_buff *skb)
194 rc = ccid_hc_tx_send_packet(dp->dccps_hc_tx_ccid, sk, skb); 194 rc = ccid_hc_tx_send_packet(dp->dccps_hc_tx_ccid, sk, skb);
195 if (rc <= 0) 195 if (rc <= 0)
196 break; 196 break;
197 dccp_pr_debug("delayed send by %d msec\n", rc);
197 delay = msecs_to_jiffies(rc); 198 delay = msecs_to_jiffies(rc);
198 sk->sk_write_pending++; 199 sk->sk_write_pending++;
199 release_sock(sk); 200 release_sock(sk);
@@ -255,7 +256,7 @@ void dccp_write_xmit(struct sock *sk, int block)
255 DCCP_BUG("err=%d after ccid_hc_tx_packet_sent", 256 DCCP_BUG("err=%d after ccid_hc_tx_packet_sent",
256 err); 257 err);
257 } else { 258 } else {
258 dccp_pr_debug("packet discarded\n"); 259 dccp_pr_debug("packet discarded due to err=%d\n", err);
259 kfree_skb(skb); 260 kfree_skb(skb);
260 } 261 }
261 } 262 }