cvs commit: src/sys/sys _task.h taskqueue.h src/sys/kern
subr_taskqueue.c
Sam Leffler
sam at errno.com
Sun Apr 24 09:54:58 PDT 2005
Sam Leffler wrote:
> sam 2005-04-24 16:52:45 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/sys _task.h taskqueue.h
> sys/kern subr_taskqueue.c
> Log:
> o eliminate modification of task structures after their run to avoid
> modify-after-free races when the task structure is malloc'd
> o shrink task structure by removing ta_flags (no longer needed with
> avoid fix) and combining ta_pending and ta_priority
This fixes modify-after-free panics for memory owned by acpitask. It's
easy to hit if you use the ath driver on a laptop where acpi is active
and load the wireless network.
Sam
More information about the cvs-src
mailing list