Searched hist:364756 (Results 1 - 1 of 1) sorted by last modified time

/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_legacy.cdiff 364756 Tue Aug 25 11:27:33 MDT 2020 vmaffione MFC r364341

netmap: fix parsing of legacy nmr->nr_ringid

Code was checking for NETMAP_{SW,HW}_RING in req->nr_ringid which
had already been masked by NETMAP_RING_MASK. Therefore, the comparisons
always failed and set NR_REG_ALL_NIC. Check against the original nmr
structure.

Submitted by: bpoole@packetforensics.com
Reported by: bpoole@packetforensics.com
Reviewed by: giuseppe.lettieri@unipi.it
Approved by: vmaffione

Completed in 127 milliseconds