diff options
author | 2019-01-02 23:08:35 +0000 | |
---|---|---|
committer | 2019-01-02 23:08:35 +0000 | |
commit | 09fb95271b8bea02fcef98c75efe342c5d0fd52c (patch) | |
tree | 35c85b317f17248e4e4eaa8817c19c92ceb5207d /usr.sbin/tcpdump/print-snmp.c | |
parent | Error out on missing table command, zap internal wrapper function (diff) | |
download | wireguard-openbsd-09fb95271b8bea02fcef98c75efe342c5d0fd52c.tar.xz wireguard-openbsd-09fb95271b8bea02fcef98c75efe342c5d0fd52c.zip |
In pmap_page_protect(), zap the PTE before unlinking. At that point the
PTED_VA_MANAGED_M flag is still set so proper MOD/REF accounting will
happen. Fixes memory corruption that would invariably happen when a
machine started swapping.
Giant cluestick from George Koehler.
ok visa@, mpi@
Diffstat (limited to 'usr.sbin/tcpdump/print-snmp.c')
0 files changed, 0 insertions, 0 deletions