summaryrefslogtreecommitdiffstats
path: root/net/dccp/options.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2009-01-16 23:36:33 +0000
committerDavid S. Miller <davem@davemloft.net>2009-01-21 14:34:05 -0800
commitf3f3abb62ccb1a1c77bcce855c04e12356e6ac95 (patch)
tree6b3e73207a047e600ab44bfe126132c538f4d772 /net/dccp/options.c
parent883ca833e5fb814fb03426c9d35e5489ce43e8da (diff)
downloadlinux-f3f3abb62ccb1a1c77bcce855c04e12356e6ac95.tar.gz
linux-f3f3abb62ccb1a1c77bcce855c04e12356e6ac95.tar.bz2
linux-f3f3abb62ccb1a1c77bcce855c04e12356e6ac95.zip
dccp: Debugging functions for feature negotiation
Since all feature-negotiation processing now takes place in feat.c, functions for producing verbose debugging output are concentrated there. New functions to print out values, entry records, and options are provided, and also a macro is defined to not always have the function name in the output line. Thanks a lot to Wei Yongjun and Giuseppe Galeota for help and discussion with an earlier revision of this patch. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r--net/dccp/options.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index 3e2726c7182d..1b08cae9c65b 100644
--- a/net/dccp/options.c
+++ b/net/dccp/options.c
@@ -498,10 +498,6 @@ int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat,
*to++ = *val;
if (len)
memcpy(to, val, len);
-
- dccp_pr_debug("%s(%s (%d), ...), length %d\n",
- dccp_feat_typename(type),
- dccp_feat_name(feat), feat, len);
return 0;
}