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
altq_codel.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_codel.h
altq_fairq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_fairq.h
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
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
if_altq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00