NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-pmax/55610 (pmax testbed panics with "address error")
Likely caused by corruption fixed by
Module Name: src
Committed By: uwe
Date: Sat Dec 12 18:35:59 UTC 2020
Modified Files:
src/sys/kern: vfs_cache.c
Log Message:
vfs_cache - do not write outside allocated memory.
In cache_cpu_init allocate struct nchcpu, not struct nchstats_percpu.
cache_update_stats expects the former (that contains two percpu
structs). Stat updates where smashing whatever was in the next pool
allocation.
Reported by martin@ as crashes in ptyfs on Krups.
To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/kern/vfs_cache.c
Home |
Main Index |
Thread Index |
Old Index