Thread (128 messages) 128 messages, 16 authors, 2006-08-25

Re: [RFC][PATCH 2/9] deadlock prevention core

From: Daniel Phillips <hidden>
Date: 2006-08-09 05:47:30
Also in: linux-mm, lkml

David Miller wrote:
From: Daniel Phillips <redacted>
  >>Can you please characterize the conditions under which skb->dev changes
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help