opnsense-src/sys/net/altq
Kristof Provost bd0ad8209d altq: Fix panics on rmc_restart()
rmc_restart() is called from a timer, but can trigger traffic. This
means the curvnet context will not be set.
Use the vnet associated with the interface we're currently processing to
set it. We also have to enter net_epoch here, for the same reason.

Reviewed by:	mjg
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D31642

(cherry picked from commit 159258afb5)
2021-08-30 10:02:14 +02:00
..
altq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_cbq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_cbq.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-19 23:39:01 +01:00
altq_cdnr.h
altq_classq.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_codel.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_codel.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_fairq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_fairq.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_hfsc.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_hfsc.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-19 23:39:01 +01:00
altq_priq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_priq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_red.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_red.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_rio.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_rio.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_rmclass.c altq: Fix panics on rmc_restart() 2021-08-30 10:02:14 +02:00
altq_rmclass.h Fix flags collision causing inability to enable CBQ in ALTQ 2018-11-16 03:42:29 +00:00
altq_rmclass_debug.h
altq_subr.c altq: Fix typo in features sysctl description 2021-07-31 10:12:01 +02:00
altq_var.h Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
if_altq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00