summaryrefslogtreecommitdiffstats
path: root/net/tipc/name_distr.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2008-05-05 01:21:54 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-05 01:21:54 -0700
commit40dbfae440abe6860167f12e0296bd7a1a599839 (patch)
tree4f18c4e5ba32240f90a9769c798d0c725ddb3dc0 /net/tipc/name_distr.c
parent93758c3da19e99f5377cc1413c27320882b18f4b (diff)
downloadop-kernel-dev-40dbfae440abe6860167f12e0296bd7a1a599839.zip
op-kernel-dev-40dbfae440abe6860167f12e0296bd7a1a599839.tar.gz
tipc: Fix null pointer dereference in debug code
This patch eliminates an obsolete use of the DBG_OUTPUT print buffer which could lead to a null pointer crash in tipc_printf() if TIPC's debugging capabilities are configured. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_distr.c')
-rw-r--r--net/tipc/name_distr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c
index 39fd161..aecba5c 100644
--- a/net/tipc/name_distr.c
+++ b/net/tipc/name_distr.c
@@ -41,9 +41,6 @@
#include "msg.h"
#include "name_distr.h"
-#undef DBG_OUTPUT
-#define DBG_OUTPUT NULL
-
#define ITEM_SIZE sizeof(struct distr_item)
/**
OpenPOWER on IntegriCloud