summaryrefslogtreecommitdiff
path: root/libexec/tftpd
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2011-05-10 21:48:18 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2011-05-10 21:48:18 +0000
commit563ca8765260186ce5628efb1fc5501b5e34c8f7 (patch)
tree46fa4124973f87704bc3d2cd99e3599812ebb963 /libexec/tftpd
parent2c12eefb2876e0c05a397f3bba92fc865bb0624d (diff)
Don't leak swapslots when doing a uvm_km_pgremove and a page is in swap only.
Before we were only calling uao_dropswap() if there was a page, maning that if the buffer was swapped out then we would leak the slot. Quite rare because only pipebuffers should swap from the kernel object, but i've seen panics that implied this had happened (alpha.p for example). ok thib@ after a lot of discussion and checking the semantics.
Diffstat (limited to 'libexec/tftpd')
0 files changed, 0 insertions, 0 deletions