Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6

+8 -1
+8 -1
net/dccp/input.c
··· 50 return; 51 } 52 53 - dccp_set_state(sk, DCCP_CLOSING); 54 dccp_send_close(sk, 0); 55 } 56 ··· 560 } else if (dh->dccph_type == DCCP_PKT_CLOSE) { 561 dccp_rcv_close(sk, skb); 562 return 0; 563 } 564 565 switch (sk->sk_state) {
··· 50 return; 51 } 52 53 + if (sk->sk_state != DCCP_CLOSING) 54 + dccp_set_state(sk, DCCP_CLOSING); 55 dccp_send_close(sk, 0); 56 } 57 ··· 559 } else if (dh->dccph_type == DCCP_PKT_CLOSE) { 560 dccp_rcv_close(sk, skb); 561 return 0; 562 + } 563 + 564 + if (unlikely(dh->dccph_type == DCCP_PKT_SYNC)) { 565 + dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, 566 + DCCP_PKT_SYNCACK); 567 + goto discard; 568 } 569 570 switch (sk->sk_state) {