David S. Miller wrote:
From: Ben Greear <[EMAIL PROTECTED]>
Date: Tue, 07 Feb 2006 16:39:52 -0800


Rick Jones wrote:

In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory?

In certain cases...say, with vlans, you could very often create and
destroy net devices.  I think that giving up and leaking the memory
is not a good idea.


I think he's suggesting another thing.  Reattach the skb->dev
to some dummy device that always persists, when a device goes
down.

Actually, I think that Ben had me pegged right the first time - I was not going to chase down all the skb's (assuming there isn't already a list of all skb's) I was just going to leave the minimum of a devices structures out there so it would still be "safe" to follow the pointer from the skb's etc.

The only problem is finding all SKB's that reference the
dev going down.

Indeed.

rick jones
-
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