[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Freeing skbs (again)
On Tue, 2004-04-27 at 16:54, Jacob Gorm Hansen wrote: > struct sk_buff* skb = np->rx_skbs[id]; > dev_kfree_skb_any(skb); > } > > > -- which crashes on dev_kfree_skb_any(). I guess I know why now. The skb->head ptrs all point to pages that are no longer mapped, this is why accessing data pointed to by skb_shinfo() (which the dealloc routine does) is bad. I could manually kfree(skb->head); but this still leaves empty mappings in the virtual memory map :-( I guess I need to flush the rings instead, but I suppose that means xen-queued outgoing packets will be dropped? Maybe I will just have to live with that. Jacob ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |