77dfcdc445
several critical bugs, including race conditions and lock order issues: Replace the single rwlock, ifnet_lock, with two locks, an rwlock and an sxlock. Either can be held to stablize the lists and indexes, but both are required to write. This allows the list to be held stable in both network interrupt contexts and sleepable user threads across sleeping memory allocations or device driver interactions. As before, writes to the interface list must occur from sleepable contexts. Reviewed by: bz, julian MFC after: 3 days |
||
---|---|---|
.. | ||
altq_cbq.c | ||
altq_cbq.h | ||
altq_cdnr.c | ||
altq_cdnr.h | ||
altq_classq.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_debug.h | ||
altq_rmclass.c | ||
altq_rmclass.h | ||
altq_subr.c | ||
altq_var.h | ||
altq.h | ||
altqconf.h | ||
if_altq.h |