[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44D976E6.5010106@google.com>
Date: Tue, 08 Aug 2006 22:47:18 -0700
From: Daniel Phillips <phillips@...gle.com>
To: David Miller <davem@...emloft.net>
CC: tgraf@...g.ch, a.p.zijlstra@...llo.nl, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [RFC][PATCH 2/9] deadlock prevention core
David Miller wrote:
> From: Daniel Phillips <phillips@...gle.com>
>>Can you please characterize the conditions under which skb->dev changes
>>after the alloc? Are there writings on this subtlety?
>
> The packet scheduler and classifier can redirect packets to different
> devices, and can the netfilter layer.
>
> The setting of skb->dev is wholly transient and you cannot rely upon
> it to be the same as when you set it on allocation.
>
> Even simple things like the bonding device change skb->dev on every
> receive.
Thankyou, this is easily fixed.
> I think you need to study the networking stack a little more before
> you continue to play in this delicate area :-)
The VM deadlock is also delicate. Perhaps we can work together.
Regards,
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists