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")



The following reply was made to PR port-pmax/55610; it has been noted by GNATS.

From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost, port-pmax-maintainer%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 Andreas Gustafsson <gson%gson.org@localhost>
Cc: 
Subject: Re: port-pmax/55610 (pmax testbed panics with "address error")
Date: Sat, 12 Dec 2020 21:08:34 +0000

 Likely caused by corruption fixed by
 
 Module Name:=C2=A0=C2=A0=C2=A0 src
 Committed By:=C2=A0=C2=A0=C2=A0 uwe
 Date:=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 Sat Dec 12 18:35:59 UTC 2020
 
 Modified Files:
  =C2=A0=C2=A0=C2=A0 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).=C2=A0 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