Re: [PATCH 05/13]: [IPV4/6]: Netfilter IPsec output hooks
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-11-22 10:31:39
Also in:
netfilter-devel
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-11-22 10:31:39
Also in:
netfilter-devel
On Tue, Nov 22, 2005 at 09:30:38PM +1100, herbert wrote:
the need to return control to dst_output. The only reason for dst_output to exist is to handle compilers that can't optimise away tail calls. So if we are going to rely on the compiler to do away with tail calls (ip_dst_output <-> __ip_dst_output), then we might as well get rid of the loop in dst_output.
Unfortunately it looks like gcc 3.3.5 at least is too dumb to optimise it away. I think we'll need a better strategy. -- 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