On Wed, Jan 18, 2006 at 04:55:39PM -0800, Kris Katterjohn wrote:
>
> > > -#include <linux/netdevice.h>
> > 
> > We need this for skb->dev->ifindex.
> 
> But we know we have struct net_device because it's used in linux/skbuff.h (for
> skb->dev of course). I'm not saying it doesn't make sense, just that it seems 
> to
> me that it's probably not needed. No matter, though.

You can't rely on that because linux/skbuff.h may only provide a forward
declaration for the structure.
-- 
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

Reply via email to