|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Freeing skbs (again)
My situation is this:
- interrupts are off
- one xenolinux network device is active
- there are buffered rx requests in the rx_ring
- I need to reset this ring in a minute
- I wish to free all the out-of-band pages allocated in my guest OS, so
they are not leaked when I reset the ring
I am trying this:
NET_RING_IDX i = np->net_idx->rx_resp_prod;
while (i != np->net_idx->rx_req_prod)
{
unsigned short id =
np->net_ring->rx_ring[MASK_NET_RX_IDX(i++)].req.id;
struct sk_buff* skb = np->rx_skbs[id];
dev_kfree_skb_any(skb);
}
-- which crashes on dev_kfree_skb_any().
Can anyone tell my why I cannot free these skbs?
Thanks,
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Freeing skbs (again),
Jacob Gorm Hansen <=
|
|
|
|
|