Thread (78 messages) flat view 78 messages, 8 authors, 2007-11-26

Re: [PKT_SCHED]: Add stateless NAT

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2007-09-29 23:37:59

On Sat, Sep 29, 2007 at 05:21:23PM +0200, Patrick McHardy wrote:
Unfortunately gcc doesn't perform tail call optimization when the
address of a parameter or local variable is passed to an extern
function before the tail call, which NF_HOOK does for the skb.
You mean the struct sk_buff **pskb bit? I've always wondered
why netfilter had to modify the skb.  Could we perhaps make it
so that it doesn't need to do so?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help