Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233857
b: refs/heads/master
c: 720dc34
h: refs/heads/master
i:
  233855: 55d5931
v: v3
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Mar 2, 2011
1 parent 8b19976 commit be25f93
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6ea25a6c2b95cf916e844fe2bacdd1c15b72e4c5
refs/heads/master: 720dc34bbbe9493c7bd48b2243058b4e447a929d
7 changes: 3 additions & 4 deletions trunk/net/dccp/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,9 @@ int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
/* Caller (dccp_v4_do_rcv) will send Reset */
dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION;
return 1;
} else if (sk->sk_state == DCCP_CLOSED) {
dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION;
return 1;
}

if (sk->sk_state != DCCP_REQUESTING && sk->sk_state != DCCP_RESPOND) {
Expand Down Expand Up @@ -668,10 +671,6 @@ int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
}

switch (sk->sk_state) {
case DCCP_CLOSED:
dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION;
return 1;

case DCCP_REQUESTING:
queued = dccp_rcv_request_sent_state_process(sk, skb, dh, len);
if (queued >= 0)
Expand Down

0 comments on commit be25f93

Please sign in to comment.