mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 18:00:31 -05:00
If we're called on an mbuf that's passed through codel before it may already contain the MTAG_CODEL tag. The code accounts for this and does not allocate a new mtag. However, it inserts the mtag unconditionally. That is, it inserts the existing mtag a second time. When the mbuf later gets freed we iterate over the list of mtags to fee them one by one, and we'll end up freeing an mtag that's already been freed. Only insert the mtag if we've allocated a new one. If we found one there's no need to insert it again. See also: https://redmine.pfsense.org/issues/14497 Sponsored by: Rubicon Communications, LLC ("Netgate") |
||
|---|---|---|
| .. | ||
| altq.h | ||
| altq_cbq.c | ||
| altq_cbq.h | ||
| altq_cdnr.h | ||
| altq_classq.h | ||
| altq_codel.c | ||
| altq_codel.h | ||
| altq_fairq.c | ||
| altq_fairq.h | ||
| altq_hfsc.c | ||
| altq_hfsc.h | ||
| altq_priq.c | ||
| altq_priq.h | ||
| altq_red.c | ||
| altq_red.h | ||
| altq_rio.c | ||
| altq_rio.h | ||
| altq_rmclass.c | ||
| altq_rmclass.h | ||
| altq_rmclass_debug.h | ||
| altq_subr.c | ||
| altq_var.h | ||
| if_altq.h | ||