diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-18 20:12:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:02:26 -0400 |
commit | c59eab4637dbc3f832503be4ccb9213b0f323d92 (patch) | |
tree | 95bf99ecc5150dc9a97c63f20b9e5d90a61edc13 /net/dccp/input.c | |
parent | 5480855bfbc125f34d9b752689bb9a64da7e1fc6 (diff) |
[DCCP]: Use LIMIT_NETDEBUG in some debugging printks
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
-rw-r--r-- | net/dccp/input.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c index 68b6e72551ef..3c4cbff82e95 100644 --- a/net/dccp/input.c +++ b/net/dccp/input.c | |||
@@ -118,8 +118,8 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb) | |||
118 | lawl = dp->dccps_awl; | 118 | lawl = dp->dccps_awl; |
119 | 119 | ||
120 | if (dh->dccph_type == DCCP_PKT_CLOSEREQ || | 120 | if (dh->dccph_type == DCCP_PKT_CLOSEREQ || |
121 | dh->dccph_type == DCCP_PKT_CLOSE || | 121 | dh->dccph_type == DCCP_PKT_CLOSE || |
122 | dh->dccph_type == DCCP_PKT_RESET) { | 122 | dh->dccph_type == DCCP_PKT_RESET) { |
123 | lswl = dp->dccps_gsr; | 123 | lswl = dp->dccps_gsr; |
124 | dccp_inc_seqno(&lswl); | 124 | dccp_inc_seqno(&lswl); |
125 | lawl = dp->dccps_gar; | 125 | lawl = dp->dccps_gar; |
@@ -136,7 +136,8 @@ 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("Step 6 failed, sending SYNC...\n"); | 139 | LIMIT_NETDEBUG(KERN_WARNING "DCCP: Step 6 failed, " |
140 | "sending SYNC...\n"); | ||
140 | dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC); | 141 | dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC); |
141 | return -1; | 142 | return -1; |
142 | } | 143 | } |
@@ -168,8 +169,8 @@ int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, | |||
168 | if (dccp_ackpkts_add(dp->dccps_hc_rx_ackpkts, | 169 | if (dccp_ackpkts_add(dp->dccps_hc_rx_ackpkts, |
169 | DCCP_SKB_CB(skb)->dccpd_seq, | 170 | DCCP_SKB_CB(skb)->dccpd_seq, |
170 | DCCP_ACKPKTS_STATE_RECEIVED)) { | 171 | DCCP_ACKPKTS_STATE_RECEIVED)) { |
171 | LIMIT_NETDEBUG(KERN_INFO "DCCP: acknowledgeable " | 172 | LIMIT_NETDEBUG(KERN_WARNING "DCCP: acknowledgeable " |
172 | "packets buffer full!\n"); | 173 | "packets buffer full!\n"); |
173 | ap->dccpap_ack_seqno = DCCP_MAX_SEQNO + 1; | 174 | ap->dccpap_ack_seqno = DCCP_MAX_SEQNO + 1; |
174 | inet_csk_schedule_ack(sk); | 175 | inet_csk_schedule_ack(sk); |
175 | inet_csk_reset_xmit_timer(sk, ICSK_TIME_DACK, | 176 | inet_csk_reset_xmit_timer(sk, ICSK_TIME_DACK, |