|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Clean up correct number of grant references on netif des
# HG changeset patch
# User smh22@xxxxxxxxxxxxxxxxxxxx
# Node ID 3076b3cc3048a1ca6d89568d3797754c288a8f79
# Parent 22ce5159334eb84731a5906fa7098e12ea167613
Clean up correct number of grant references on netif destory.
Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
diff -r 22ce5159334e -r 3076b3cc3048
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Sun Aug 14
21:48:37 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Sun Aug 14
22:09:18 2005
@@ -1449,10 +1449,10 @@
static void netif_exit(void)
{
#ifdef CONFIG_XEN_NETDEV_GRANT_TX
- gnttab_free_grant_references(NETIF_TX_RING_SIZE, gref_tx_head);
+ gnttab_free_grant_references(NETIF_TX_RING_SIZE + 1, gref_tx_head);
#endif
#ifdef CONFIG_XEN_NETDEV_GRANT_RX
- gnttab_free_grant_references(NETIF_RX_RING_SIZE, gref_rx_head);
+ gnttab_free_grant_references(NETIF_RX_RING_SIZE + 1, gref_rx_head);
#endif
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Clean up correct number of grant references on netif destory.,
Xen patchbot -unstable <=
|
|
|
|
|