|
@@ -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) {
|
|
@@ -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)
|