opnsense-src/sys/net/altq
Kristof Provost 159258afb5 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
2021-08-23 21:35:41 +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 altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00
altq_cbq.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-04 20:58:22 +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 altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01: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 altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01: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 altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00
altq_hfsc.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-04 20:58:22 +01:00
altq_priq.c altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01: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-23 21:35:41 +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 net: Introduce IPV6_DSCP(), IPV6_ECN() and IPV6_TRAFFIC_CLASS() macros 2021-03-04 20:56:48 +01: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 altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00