aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid2.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid2.c')
-rw-r--r--net/dccp/ccids/ccid2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c
index e0acd1ba4e88..dbcda7e868b7 100644
--- a/net/dccp/ccids/ccid2.c
+++ b/net/dccp/ccids/ccid2.c
@@ -35,8 +35,7 @@
35 35
36static int ccid2_debug; 36static int ccid2_debug;
37 37
38#undef CCID2_DEBUG 38#ifdef CONFIG_IP_DCCP_CCID2_DEBUG
39#ifdef CCID2_DEBUG
40#define ccid2_pr_debug(format, a...) \ 39#define ccid2_pr_debug(format, a...) \
41 do { if (ccid2_debug) \ 40 do { if (ccid2_debug) \
42 printk(KERN_DEBUG "%s: " format, __FUNCTION__, ##a); \ 41 printk(KERN_DEBUG "%s: " format, __FUNCTION__, ##a); \
@@ -47,7 +46,7 @@ static int ccid2_debug;
47 46
48static const int ccid2_seq_len = 128; 47static const int ccid2_seq_len = 128;
49 48
50#ifdef CCID2_DEBUG 49#ifdef CONFIG_IP_DCCP_CCID2_DEBUG
51static void ccid2_hc_tx_check_sanity(const struct ccid2_hc_tx_sock *hctx) 50static void ccid2_hc_tx_check_sanity(const struct ccid2_hc_tx_sock *hctx)
52{ 51{
53 int len = 0; 52 int len = 0;
@@ -295,7 +294,7 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int more, int len)
295 if (!timer_pending(&hctx->ccid2hctx_rtotimer)) 294 if (!timer_pending(&hctx->ccid2hctx_rtotimer))
296 ccid2_start_rto_timer(sk); 295 ccid2_start_rto_timer(sk);
297 296
298#ifdef CCID2_DEBUG 297#ifdef CONFIG_IP_DCCP_CCID2_DEBUG
299 ccid2_pr_debug("pipe=%d\n", hctx->ccid2hctx_pipe); 298 ccid2_pr_debug("pipe=%d\n", hctx->ccid2hctx_pipe);
300 ccid2_pr_debug("Sent: seq=%llu\n", seq); 299 ccid2_pr_debug("Sent: seq=%llu\n", seq);
301 do { 300 do {