Searched hist:"0 ff21267956e4097c300139eff5fdf151933e7c6" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/ |
H A D | iflib.c | diff 0ff21267956e4097c300139eff5fdf151933e7c6 Tue Jun 23 22:23:56 CEST 2020 Vincenzo Maffione <vmaffione@FreeBSD.org> iflib: netmap: fix rsync index overrun
In the current iflib_netmap_rxsync, there is nothing that prevents kring->nr_hwtail to overrun kring->nr_hwcur during the descriptor import phase. This may cause errors in netmap applications, such as:
em1 RX0: fail 'head < kring->nr_hwcur || head > kring->nr_hwtail' h 795 c 795 t 282 rh 795 rc 795 rt 282 hc 282 ht 282
Reviewed by: gallatin MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25252
|