[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070308.231142.74749203.davem@davemloft.net>
Date: Thu, 08 Mar 2007 23:11:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: peter.p.waskiewicz.jr@...el.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
christopher.leech@...el.com
Subject: Re: [PATCH 0/2] NET: Multiple queue network device support REPOST
From: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>
Date: Thu, 8 Mar 2007 22:42:19 -0800
> This was taken into consideration, and I did reply that my concern for
> doing that could cause stale data in the skb if the queue mapping
> changed.
This is not a problem.
Since the ->enqueue function stores references to the SKBs,
any change of the dev->qdisc has to flush those references
somehow, and it is at that point that you can fixup the
skb queue mappings.
This happens via invoking the qdisc->ops->reset() method.
-
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