On Thu, Jul 28, 2005 at 04:23:18PM +0400, Alexey Kuznetsov wrote: > > > You're right. That makes it safe with preemption. However, netfilter > > could still queue the packet which means the neigh entry and dev can > > go away under it, right? > > Netfilter is very clean about this. Each hook gets two devices as _arguments_ > (input and output, skb->dev is one of them depending on context), nf_queue > grabs the references, nf_reinjects puts them.
Alexey, you're right of course. It's all good :) -- 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