summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/asn1/a_bitstr.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2018-05-12 17:17:27 +0000
committerkrw <krw@openbsd.org>2018-05-12 17:17:27 +0000
commit7ace0ba63022455563986376303e3200ddbcd02e (patch)
tree26c72f1fc3da07f943ddf8273dded7e1e9d05def /lib/libcrypto/asn1/a_bitstr.c
parentminor consistency fix; from raf czlonka (diff)
downloadwireguard-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