svn commit: r311159 - head/sys/dev/xen/netfront
Olivier Houchard
cognet at FreeBSD.org
Tue Jan 3 17:24:57 UTC 2017
Author: cognet
Date: Tue Jan 3 17:24:56 2017
New Revision: 311159
URL: https://svnweb.freebsd.org/changeset/base/311159
Log:
In the netfront_rxq struct, we should use NET_RX_RING_SIZE, not
NET_TX_RING_SIZE.
Reviewed by: royger
Modified:
head/sys/dev/xen/netfront/netfront.c
Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c Tue Jan 3 17:16:13 2017 (r311158)
+++ head/sys/dev/xen/netfront/netfront.c Tue Jan 3 17:24:56 2017 (r311159)
@@ -168,7 +168,7 @@ struct netfront_rxq {
xen_intr_handle_t xen_intr_handle;
grant_ref_t gref_head;
- grant_ref_t grant_ref[NET_TX_RING_SIZE + 1];
+ grant_ref_t grant_ref[NET_RX_RING_SIZE + 1];
struct mbuf *mbufs[NET_RX_RING_SIZE + 1];
More information about the svn-src-head
mailing list