netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter/ip_tables: fix compile with debug
@ 2011-06-15 20:23 Sebastian Andrzej Siewior
  2011-06-16 15:17 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2011-06-15 20:23 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel, netfilter, Sebastian Andrzej Siewior

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
 net/ipv4/netfilter/ip_tables.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 7049150..96b16e8 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -571,7 +571,7 @@ check_entry(const struct ipt_entry *e, const char *name)
 	const struct xt_entry_target *t;
 
 	if (!ip_checkentry(&e->ip)) {
-		duprintf("ip check failed %p %s.\n", e, par->match->name);
+		duprintf("ip check failed %p %s.\n", e, name);
 		return -EINVAL;
 	}
 
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] netfilter/ip_tables: fix compile with debug
  2011-06-15 20:23 [PATCH] netfilter/ip_tables: fix compile with debug Sebastian Andrzej Siewior
@ 2011-06-16 15:17 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2011-06-16 15:17 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: netfilter-devel, netfilter

On 15.06.2011 22:23, Sebastian Andrzej Siewior wrote:
> Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Applied, thanks. We should really convert this stuff to pr_debug to
make sure these problems are found even without debugging enabled.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-16 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 20:23 [PATCH] netfilter/ip_tables: fix compile with debug Sebastian Andrzej Siewior
2011-06-16 15:17 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).