Skip to content
Permalink
Browse files

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
  • Loading branch information...
seanbruno committed Aug 1, 2016
1 parent 12debd1 commit 7f641c57ed99be7a71eb115f0936e738e40c1689
Showing with 1 addition and 0 deletions.
  1. +1 −0 sys/dev/e1000/if_em.c
@@ -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;
}

0 comments on commit 7f641c5

Please sign in to comment.
You can’t perform that action at this time.