In the netfront_rxq struct, we should use NET_RX_RING_SIZE, not
NET_TX_RING_SIZE. Reviewed by: royger
This commit is contained in:
parent
722e888dce
commit
36ea572167
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311159
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user