aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/input.c')
-rw-r--r--net/dccp/input.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c
index 3c4cbff82e95..ce8396b126d2 100644
--- a/net/dccp/input.c
+++ b/net/dccp/input.c
@@ -136,8 +136,15 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb)
136 DCCP_PKT_WITHOUT_ACK_SEQ)) 136 DCCP_PKT_WITHOUT_ACK_SEQ))
137 dp->dccps_gar = DCCP_SKB_CB(skb)->dccpd_ack_seq; 137 dp->dccps_gar = DCCP_SKB_CB(skb)->dccpd_ack_seq;
138 } else { 138 } else {
139 LIMIT_NETDEBUG(KERN_WARNING "DCCP: Step 6 failed, " 139 LIMIT_NETDEBUG(KERN_WARNING "DCCP: Step 6 failed for %s packet, "
140 "sending SYNC...\n"); 140 "(LSWL(%llu) <= P.seqno(%llu) <= S.SWH(%llu)) and "
141 "(P.ackno %s or LAWL(%llu) <= P.ackno(%llu) <= S.AWH(%llu), "
142 "sending SYNC...\n",
143 dccp_packet_name(dh->dccph_type),
144 lswl, DCCP_SKB_CB(skb)->dccpd_seq, dp->dccps_swh,
145 (DCCP_SKB_CB(skb)->dccpd_ack_seq ==
146 DCCP_PKT_WITHOUT_ACK_SEQ) ? "doesn't exist" : "exists",
147 lawl, DCCP_SKB_CB(skb)->dccpd_ack_seq, dp->dccps_awh);
141 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC); 148 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC);
142 return -1; 149 return -1;
143 } 150 }