DragonFly commits List (threaded) for 2004-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern
dillon 2004/11/20 12:35:33 PST
DragonFly src repository
Modified files:
sys/kern uipc_syscalls.c
Log:
sendfile() was seriously broken. It was calling vm_page_free() without
busying the underlying page, causing a panic on kernels compiled with
INVARIANTS and potentially corrupting data on kernels compiles without
INVARIANTS. Change the calls to vm_page_try_to_free().
Symtoms: system crash when Apache2 tries to use sendfile() to send large files.
Reported-by: Jedi/Sector One <j@xxxxxxxxxxxx>
Revision Changes Path
1.45 +5 -13 src/sys/kern/uipc_syscalls.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.44&r2=1.45&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]