Displaying 1 result from an estimated 1 matches for "m_new".
Did you mean:
__new
2006 Mar 09
1
FreeBSD netfront.c / problem
...h line numbers is given below, and I''ll try to
explain where the problem occurs.
The basic problem is that the hypercall on line 112 below fails
because Xen is handed the page number -1.
1 static void
2 network_alloc_rx_buffers(struct netfront_info *sc)
3 {
[...]
48 for (i = 0, m_new = sc->xn_rx_batch; m_new;
49 i++, sc->xn_rx_batchlen--, m_new = next) {
50
[...]
70 rx_pfn_array[i] = vtomach(mtod(m_new,vm_offset_t)) >> PAGE_SHIFT;
The above call fails gives -1 (i.e., an invalid virtual -> machine
translation) time since some mbufs are placed on th...