Re: struct refcnt for routes

2022-06-27 Thread Vitaliy Makkoveev
On Mon, Jun 27, 2022 at 03:21:56PM +0200, Alexander Bluhm wrote: > Hi, > > Use ref count API for routes. > > ok? > Some time ago, I posted the diff which removes the logic around negative `refcnt' within rtfree(). This diff was stopped by mpi@, he said we could underflow rt->rt_refcnt and this

struct refcnt for routes

2022-06-27 Thread Alexander Bluhm
Hi, Use ref count API for routes. ok? bluhm Index: net/route.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/route.c,v retrieving revision 1.410 diff -u -p -r1.410 route.c --- net/route.c 5 May 2022 13:57:40 - 1.410