On Thu, Aug 31, 2006 at 08:55:27PM -0400, jamal wrote: > > Would it be reasonable to do a check so that incase a skb->dst doesnt > exist, the inner headers values can be used i.e something along > xfrm4_tunnel_output()::
If you didn't care what values they were, couldn't you just stuff some bogus dst into the skb? If this packet is going somewhere you're going to have a dst one way or another :) Also, the IPID is only generated if DF is not set on the packet. Otherwise this path is already as fast as it can be. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html