[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Update for grant table interface changes.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID 6078dc5f7ea1809367b720f120b73a5b38bc8f9d # Parent 1d86fcb11b599ea950472a6428ec71ff62888c65 Update for grant table interface changes. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r 1d86fcb11b59 -r 6078dc5f7ea1 linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Mon Aug 22 20:52:38 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Mon Aug 22 20:57:26 2005 @@ -1457,10 +1457,10 @@ static void netif_exit(void) { #ifdef CONFIG_XEN_NETDEV_GRANT_TX - gnttab_free_grant_references(NETIF_TX_RING_SIZE + 1, gref_tx_head); + gnttab_free_grant_references(gref_tx_head, gref_tx_terminal); #endif #ifdef CONFIG_XEN_NETDEV_GRANT_RX - gnttab_free_grant_references(NETIF_RX_RING_SIZE + 1, gref_rx_head); + gnttab_free_grant_references(gref_rx_head, gref_rx_terminal); #endif } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |