Re: pcb init malloc

2022-03-04 Thread Vitaliy Makkoveev
ok mvs@ > On 4 Mar 2022, at 18:32, Alexander Bluhm wrote: > > Hi, > > in_pcbinit() is called during boot. There malloc(9) cannot fail. > If called with M_WAITOK it would panic otherwise. So this error > handling is needles. > > ok? > > bluhm > > Index: netinet/in_pcb.c > ==

pcb init malloc

2022-03-04 Thread Alexander Bluhm
Hi, in_pcbinit() is called during boot. There malloc(9) cannot fail. If called with M_WAITOK it would panic otherwise. So this error handling is needles. ok? bluhm Index: netinet/in_pcb.c === RCS file: /data/mirror/openbsd/cvs/sr