|
@@ -35,8 +35,7 @@
|
|
|
|
|
|
static int ccid2_debug;
|
|
|
|
|
|
-#undef CCID2_DEBUG
|
|
|
-#ifdef CCID2_DEBUG
|
|
|
+#ifdef CONFIG_IP_DCCP_CCID2_DEBUG
|
|
|
#define ccid2_pr_debug(format, a...) \
|
|
|
do { if (ccid2_debug) \
|
|
|
printk(KERN_DEBUG "%s: " format, __FUNCTION__, ##a); \
|
|
@@ -47,7 +46,7 @@ static int ccid2_debug;
|
|
|
|
|
|
static const int ccid2_seq_len = 128;
|
|
|
|
|
|
-#ifdef CCID2_DEBUG
|
|
|
+#ifdef CONFIG_IP_DCCP_CCID2_DEBUG
|
|
|
static void ccid2_hc_tx_check_sanity(const struct ccid2_hc_tx_sock *hctx)
|
|
|
{
|
|
|
int len = 0;
|
|
@@ -295,7 +294,7 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int more, int len)
|
|
|
if (!timer_pending(&hctx->ccid2hctx_rtotimer))
|
|
|
ccid2_start_rto_timer(sk);
|
|
|
|
|
|
-#ifdef CCID2_DEBUG
|
|
|
+#ifdef CONFIG_IP_DCCP_CCID2_DEBUG
|
|
|
ccid2_pr_debug("pipe=%d\n", hctx->ccid2hctx_pipe);
|
|
|
ccid2_pr_debug("Sent: seq=%llu\n", seq);
|
|
|
do {
|