Thread (30 messages) 30 messages, 9 authors, 2005-01-28

Re: [PATCH/RFC] Reduce call chain length in netfilter (was: Re: do_IRQ: stack overflow: 872..)

From: Martin Josefsson <hidden>
Date: 2005-01-23 16:08:29
Also in: bridge

On Sun, 2005-01-23 at 13:40 +0100, Bart De Schuymer wrote:
Hi Martin,
Hi Bart
quoted
I guess you never testcompiled with CONFIG_NETFILTER_DEBUG set :)
Oops, no. I was imagining I could code that without error...
There was another compile error with CONFIG_NETFILTER_DEBUG in the patch
(skb that should have been (*pskb)) :(
:)
quoted
quoted
+			if (verdict > NF_MAX_VERDICT) {
+				NFDEBUG("Evil return from %p(%u).\n",
+				        elem->hook, hook);
+				continue;
+			}
Maybe add unlikely() around the test?
OK. I added another one around another debugging if-statement.
I'm now running a kernel with this patch and everything seems to still
be working.
So unless someone else has something to comment I think this should be
applied.
The decrease in call-depth is important.

-- 
/Martin

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help