Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41638
b: refs/heads/master
c: 08a29e4
h: refs/heads/master
v: v3
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Dec 3, 2006
1 parent 7b0f39e commit 3c61d5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75356f27ed4f85bd789a822bca3fc5e92e334140
refs/heads/master: 08a29e41bb6d6516b0f65e19381f537168d1768e
10 changes: 6 additions & 4 deletions trunk/net/dccp/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static void dccp_retransmit_timer(struct sock *sk)

/* retransmit timer is used for feature negotiation throughout
* connection. In this case, no packet is re-transmitted, but rather an
* ack is generated and pending changes are splaced into its options.
* ack is generated and pending changes are placed into its options.
*/
if (sk->sk_send_head == NULL) {
dccp_pr_debug("feat negotiation retransmit timeout %p\n", sk);
Expand All @@ -154,9 +154,11 @@ static void dccp_retransmit_timer(struct sock *sk)
/*
* sk->sk_send_head has to have one skb with
* DCCP_SKB_CB(skb)->dccpd_type set to one of the retransmittable DCCP
* packet types (REQUEST, RESPONSE, the ACK in the 3way handshake
* (PARTOPEN timer), etc).
*/
* packet types. The only packets eligible for retransmission are:
* -- Requests in client-REQUEST state (sec. 8.1.1)
* -- Acks in client-PARTOPEN state (sec. 8.1.5)
* -- CloseReq in server-CLOSEREQ state (sec. 8.3)
* -- Close in node-CLOSING state (sec. 8.3) */
BUG_TRAP(sk->sk_send_head != NULL);

/*
Expand Down

0 comments on commit 3c61d5c

Please sign in to comment.