diff options
author | Patrick McHardy <kaber@trash.net> | 2010-04-22 07:03:24 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-04-22 07:03:24 -0400 |
commit | cecc74de25d2cfb08e7702cd38e3f195950f1228 (patch) | |
tree | 1d351b1855094e13bfdc4162e3342c6932574168 /net/ipv4 | |
parent | d97a9e47ba148cfc41e354c5cd241f472273207c (diff) |
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: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ip_tables.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index bb5e0d9b8137..3e6af1036fbc 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c | |||
@@ -363,7 +363,7 @@ ipt_do_table(struct sk_buff *skb, | |||
363 | 363 | ||
364 | e = get_entry(table_base, private->hook_entry[hook]); | 364 | e = get_entry(table_base, private->hook_entry[hook]); |
365 | 365 | ||
366 | pr_devel("Entering %s(hook %u); sp at %u (UF %p)\n", | 366 | pr_debug("Entering %s(hook %u); sp at %u (UF %p)\n", |
367 | table->name, hook, origptr, | 367 | table->name, hook, origptr, |
368 | get_entry(table_base, private->underflow[hook])); | 368 | get_entry(table_base, private->underflow[hook])); |
369 | 369 | ||
@@ -409,11 +409,11 @@ ipt_do_table(struct sk_buff *skb, | |||
409 | if (*stackptr == 0) { | 409 | if (*stackptr == 0) { |
410 | e = get_entry(table_base, | 410 | e = get_entry(table_base, |
411 | private->underflow[hook]); | 411 | private->underflow[hook]); |
412 | pr_devel("Underflow (this is normal) " | 412 | pr_debug("Underflow (this is normal) " |
413 | "to %p\n", e); | 413 | "to %p\n", e); |
414 | } else { | 414 | } else { |
415 | e = jumpstack[--*stackptr]; | 415 | e = jumpstack[--*stackptr]; |
416 | pr_devel("Pulled %p out from pos %u\n", | 416 | pr_debug("Pulled %p out from pos %u\n", |
417 | e, *stackptr); | 417 | e, *stackptr); |
418 | e = ipt_next_entry(e); | 418 | e = ipt_next_entry(e); |
419 | } | 419 | } |
@@ -426,7 +426,7 @@ ipt_do_table(struct sk_buff *skb, | |||
426 | break; | 426 | break; |
427 | } | 427 | } |
428 | jumpstack[(*stackptr)++] = e; | 428 | jumpstack[(*stackptr)++] = e; |
429 | pr_devel("Pushed %p into pos %u\n", | 429 | pr_debug("Pushed %p into pos %u\n", |
430 | e, *stackptr - 1); | 430 | e, *stackptr - 1); |
431 | } | 431 | } |
432 | 432 | ||
@@ -448,7 +448,7 @@ ipt_do_table(struct sk_buff *skb, | |||
448 | break; | 448 | break; |
449 | } while (!hotdrop); | 449 | } while (!hotdrop); |
450 | xt_info_rdunlock_bh(); | 450 | xt_info_rdunlock_bh(); |
451 | pr_devel("Exiting %s; resetting sp from %u to %u\n", | 451 | pr_debug("Exiting %s; resetting sp from %u to %u\n", |
452 | __func__, *stackptr, origptr); | 452 | __func__, *stackptr, origptr); |
453 | *stackptr = origptr; | 453 | *stackptr = origptr; |
454 | #ifdef DEBUG_ALLOW_ALL | 454 | #ifdef DEBUG_ALLOW_ALL |