This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Resetting network device / skb leak

To: Jacob Gorm Hansen <jacob@xxxxxxxx>
Subject: Re: [Xen-devel] Resetting network device / skb leak
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 22 Apr 2004 11:28:01 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Xen list <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 22 Apr 2004 11:31:47 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 22 Apr 2004 12:23:30 +0200." <1082629410.6924.6.camel@jacobg>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> On Thu, 2004-04-22 at 08:19, Keir Fraser wrote: 
> > The correct suspend behaviour is caused by executing dev->stop().
> > 
> > Why are you not able to run the existing ifdown/ifup code? It doesn't
> > execute notifier lists so shouldn't affect routing tables or anything
> > like that.
> Mainly because I need the interface to remain active across the point
> where I am checkpointing the system -- the interface is used in the
> migration which is still ongoing at that time (I firewall off unrelated
> connections to not mess things up externally).
> Basically I need to revive the (already open but not
> Xen-connected/initialised) interface when I wake up, which the
> previously quoted code does fine, but apparently this causes a leak of
> skbs. What I am looking for is a safe way of freeing or reusing the old
> ones before reinitialising the interface.
> Jacob

So you even do the final parts of state migration within the domain
that is migrating? That sounds hard to get right. :-)

 -- Keir

This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>