Skip to content

Commit

Permalink
r293331 mistakingly failed to add an assignment of paddr to the rxbuf
Browse files Browse the repository at this point in the history
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 7f641c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/dev/e1000/if_em.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7f641c5

Please sign in to comment.