diff options
author | 2018-05-12 17:17:27 +0000 | |
---|---|---|
committer | 2018-05-12 17:17:27 +0000 | |
commit | 7ace0ba63022455563986376303e3200ddbcd02e (patch) | |
tree | 26c72f1fc3da07f943ddf8273dded7e1e9d05def /lib/libcrypto/asn1/a_bitstr.c | |
parent | minor consistency fix; from raf czlonka (diff) | |
download | wireguard-openbsd-7ace0ba63022455563986376303e3200ddbcd02e.tar.xz wireguard-openbsd-7ace0ba63022455563986376303e3200ddbcd02e.zip |
Re-apply inadvertantly misplaced r1.127 from kettenis@:
"Buffer cache pages are wired but not counted as such. Therefore we
have to set the wire count on the pages to 0 before we call
uvm_pagefree() on them, just like we do in buf_free_pages().
Otherwise the wired pages counter goes negative. While there, also
sprinkle some KASSERTs in there that buf_free_pages() has as well."
ok beck@ (again)
Diffstat (limited to 'lib/libcrypto/asn1/a_bitstr.c')
0 files changed, 0 insertions, 0 deletions