Re: IPsec delete TDB in ipo cache

2021-12-07 Thread Vitaliy Makkoveev
> On 7 Dec 2021, at 18:31, Alexander Bluhm wrote: > > Hi, > > In ipo_tdb the flow contains a reference counted TDB cache. This > may prevent that tdb_free() is called. It is not a real leak as > ipsecctl -F or termination of iked flush this cache. The kernel > does the cleanup itself if we mo

IPsec delete TDB in ipo cache

2021-12-07 Thread Alexander Bluhm
Hi, In ipo_tdb the flow contains a reference counted TDB cache. This may prevent that tdb_free() is called. It is not a real leak as ipsecctl -F or termination of iked flush this cache. The kernel does the cleanup itself if we move the code from tdb_free() to tdb_delete(). ok? bluhm Index: n