r293331 mistakingly failed to add an assignment of paddr to the rxbuf

but only in the NETMAP code.  This lead to the NETMAP code paths
passing nothing up to userland.

Submitted by:	Ad Schellevis <ad@opnsense.org>
Reported by:	Franco Fichtner <franco@opnsense.org>
MFC after:	1 day
This commit is contained in:
Sean Bruno 2016-08-01 21:19:51 +00:00
parent 0428336393
commit e72a746a6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303638

View File

@ -4392,6 +4392,7 @@ em_setup_receive_ring(struct rx_ring *rxr)
addr = PNMB(na, slot + si, &paddr);
netmap_load_map(na, rxr->rxtag, rxbuf->map, addr);
rxbuf->paddr = paddr;
em_setup_rxdesc(&rxr->rx_base[j], rxbuf);
continue;
}