RE: [PATCH v3 11/15] ring: add allocation function attributes

2025-01-24 Thread Konstantin Ananyev
> > Use function attributes to catch cases where ring is allocated > but not freed correctly. > > Signed-off-by: Stephen Hemminger > --- > lib/ring/rte_ring.h | 22 -- > 1 file changed, 12 insertions(+), 10 deletions(-) > > diff --git a/lib/ring/rte_ring.h b/lib/ring/rte

[PATCH v3 11/15] ring: add allocation function attributes

2025-01-23 Thread Stephen Hemminger
Use function attributes to catch cases where ring is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/ring/rte_ring.h | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/ring/rte_ring.h b/lib/ring/rte_ring.h index 63a71d5871