[DCCP]: Handle SYNC packets in dccp_rcv_state_process

Eliciting a SYNCACK in response, we were handling SYNC packets
only in the DCCP_OPEN state, in dccp_rcv_established.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

+6
+6
net/dccp/input.c
··· 562 562 return 0; 563 563 } 564 564 565 + if (unlikely(dh->dccph_type == DCCP_PKT_SYNC)) { 566 + dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, 567 + DCCP_PKT_SYNCACK); 568 + goto discard; 569 + } 570 + 565 571 switch (sk->sk_state) { 566 572 case DCCP_CLOSED: 567 573 return 1;