On Sat, Nov 05, 2005 at 10:55:57AM +0100, Patrick McHardy wrote: > > > <[EMAIL PROTECTED]> > > Well, once encapsulated and once decapsulated. > > What I propose is actually exactly what you suggested in that mail:
You got me there :) I was confused. Yes this is OK with me. > In my last patchset I did it by calling netif_rx at that point, > now I want to add new hooks. The only problem I can see is that at some point we're probably going to add an AF_PACKET hook there as well for the pure transport mode packet so that people can diagnose their transport mode IPsec problems. However, I reckon that's still miles ahead of passing the packet back through netif_rx when we already know that it's still the same address family as what we started out with. 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