[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [NET] front: Fix size of grant_rx_ref[]. It should use the RX ring
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID b3cba293e61aae7594908dcd4b848022ceeeaf53 # Parent a95dfbc8dca8ecddcb9be51d78f446b0fa461892 [NET] front: Fix size of grant_rx_ref[]. It should use the RX ring size, rather than the TX ring size. Signed-off-by: Jose Renato Santos <jsantos@xxxxxxxxxx> --- linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r a95dfbc8dca8 -r b3cba293e61a linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Thu Oct 05 14:53:29 2006 +0100 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Thu Oct 05 16:05:12 2006 +0100 @@ -165,7 +165,7 @@ struct netfront_info { grant_ref_t gref_tx_head; grant_ref_t grant_tx_ref[NET_TX_RING_SIZE + 1]; grant_ref_t gref_rx_head; - grant_ref_t grant_rx_ref[NET_TX_RING_SIZE]; + grant_ref_t grant_rx_ref[NET_RX_RING_SIZE]; struct xenbus_device *xbdev; int tx_ring_ref; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |