opnsense-src/sys/dev/netmap
Mark Johnston 1a57779234 netmap: Fix a queue length check in the generic port rx path
The check is ok by default, since the default value of
netmap_generic_ringsize is 1024.  But we should check against the
configured "ring" size.

Reviewed by:	vmaffione
MFC after:	1 week
Sponsored by:	Zenarmor
Sponsored by:	OPNsense
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D38062

(cherry picked from commit 539437c828)
2023-02-01 12:22:31 -05:00
..
if_ptnet.c netmap: drop compatibility FreeBSD code 2022-12-31 12:06:22 +00:00
if_re_netmap.h Fix unused variable warning in if_re_netmap.h 2022-07-24 13:00:10 +02:00
if_vtnet_netmap.h netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_bdg.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_bdg.h netmap_update_config: update na->name to cope with reconfigurations 2022-12-24 11:46:02 +00:00
netmap_freebsd.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_generic.c netmap: Fix a queue length check in the generic port rx path 2023-02-01 12:22:31 -05:00
netmap_kern.h netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_kloop.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_legacy.c netmap: fix parsing of legacy nmr->nr_ringid 2020-08-18 08:03:28 +00:00
netmap_mbq.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
netmap_mbq.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
netmap_mem2.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_mem2.h netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_monitor.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_null.c netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
netmap_offloadings.c netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
netmap_pipe.c netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
netmap_vale.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00