From 9928c864ab83210faabd0f68901aec653ab71707 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 29 Sep 2009 19:42:36 +0200 Subject: [PATCH] pknock: drop evil-tinygram warning messages The duprintf macro then also becomes unneeded. --- extensions/xt_pknock.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/extensions/xt_pknock.c b/extensions/xt_pknock.c index 15e043e..1d3fb08 100644 --- a/extensions/xt_pknock.c +++ b/extensions/xt_pknock.c @@ -52,10 +52,8 @@ enum { #define DEBUGP(msg, peer) printk(KERN_INFO PKNOCK \ "(S) peer: %u.%u.%u.%u - %s.\n", \ NIPQUAD((peer)->ip), msg) - #define duprintf(format, args...) printk(format, ## args); #else #define DEBUGP(msg, peer) - #define duprintf(format, args...) #endif static uint32_t ipt_pknock_hash_rnd; @@ -924,7 +922,6 @@ static bool pknock_mt(const struct sk_buff *skb, /* We've been asked to examine this packet, and we * can't. Hence, no choice but to drop. */ - duprintf("Dropping evil offset=0 tinygram.\n"); *par->hotdrop = true; return false; }