On Mon, May 21, 2007 at 06:36:57PM +0200, Patrick McHardy wrote: > > The IP stack shouldn't be too hard, we currently set skb->dev in > ip_output, after that we only have the POST_ROUTING hook and ip_fragment > which care. It wouldn't help with ipip/ip_gre though, at that point > skb->dev must point to the tunnel device.
I think that should be OK though. Once you pass through ipip/ip_gre's transmit function, you're conceptually a locally generated packet. 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