Commit cecc74de authored by Patrick McHardy's avatar Patrick McHardy

netfilter: ip_tables: convert pr_devel() to pr_debug()

We want to be able to use CONFIG_DYNAMIC_DEBUG in netfilter code, switch
the few existing pr_devel() calls to pr_debug().
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent d97a9e47
...@@ -363,7 +363,7 @@ ipt_do_table(struct sk_buff *skb, ...@@ -363,7 +363,7 @@ ipt_do_table(struct sk_buff *skb,
e = get_entry(table_base, private->hook_entry[hook]); e = get_entry(table_base, private->hook_entry[hook]);
pr_devel("Entering %s(hook %u); sp at %u (UF %p)\n", pr_debug("Entering %s(hook %u); sp at %u (UF %p)\n",
table->name, hook, origptr, table->name, hook, origptr,
get_entry(table_base, private->underflow[hook])); get_entry(table_base, private->underflow[hook]));
...@@ -409,11 +409,11 @@ ipt_do_table(struct sk_buff *skb, ...@@ -409,11 +409,11 @@ ipt_do_table(struct sk_buff *skb,
if (*stackptr == 0) { if (*stackptr == 0) {
e = get_entry(table_base, e = get_entry(table_base,
private->underflow[hook]); private->underflow[hook]);
pr_devel("Underflow (this is normal) " pr_debug("Underflow (this is normal) "
"to %p\n", e); "to %p\n", e);
} else { } else {
e = jumpstack[--*stackptr]; e = jumpstack[--*stackptr];
pr_devel("Pulled %p out from pos %u\n", pr_debug("Pulled %p out from pos %u\n",
e, *stackptr); e, *stackptr);
e = ipt_next_entry(e); e = ipt_next_entry(e);
} }
...@@ -426,7 +426,7 @@ ipt_do_table(struct sk_buff *skb, ...@@ -426,7 +426,7 @@ ipt_do_table(struct sk_buff *skb,
break; break;
} }
jumpstack[(*stackptr)++] = e; jumpstack[(*stackptr)++] = e;
pr_devel("Pushed %p into pos %u\n", pr_debug("Pushed %p into pos %u\n",
e, *stackptr - 1); e, *stackptr - 1);
} }
...@@ -448,7 +448,7 @@ ipt_do_table(struct sk_buff *skb, ...@@ -448,7 +448,7 @@ ipt_do_table(struct sk_buff *skb,
break; break;
} while (!hotdrop); } while (!hotdrop);
xt_info_rdunlock_bh(); xt_info_rdunlock_bh();
pr_devel("Exiting %s; resetting sp from %u to %u\n", pr_debug("Exiting %s; resetting sp from %u to %u\n",
__func__, *stackptr, origptr); __func__, *stackptr, origptr);
*stackptr = origptr; *stackptr = origptr;
#ifdef DEBUG_ALLOW_ALL #ifdef DEBUG_ALLOW_ALL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment