Re: tdb refcounting debug

2021-12-01 Thread Alexander Bluhm
On Thu, Nov 25, 2021 at 07:17:21PM +0100, Alexander Bluhm wrote: > To find the ref counting bugs in IPsec tdb I use this trace code. > Per default there is no change due to #ifdef. > > tdb_trace[72]: 3944909: refs 5 +1 cpu1 gettdb_dir:360 > tdb_trace[73]: 3944910: refs 6 +0 cpu1 pfkeyv2_

tdb refcounting debug

2021-11-25 Thread Alexander Bluhm
Hi, To find the ref counting bugs in IPsec tdb I use this trace code. Per default there is no change due to #ifdef. ddb{2}> show tdb /f 0x880164b0 tdb at 0x880164b0 ... refcnt: 2 ... trace_idx: 3767579 ... tdb_trace[64]: 3944868: refs 6 +0 cpu1 ipsec_forw