DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Is mbuf detached from pool?
@ 2019-07-29 11:41 Yaron Illouz
  0 siblings, 0 replies; only message in thread
From: Yaron Illouz @ 2019-07-29 11:41 UTC (permalink / raw)
  To: dev

Hi



I had a check in code for mbuf double release



I used to check if the reference count <= 0



Since the following change i can't check anymore this way since the reference count is 1 even after it is release to the pool http://mails.dpdk.org/archives/dev/2017-January/056188.html



I there a way to check if the mbuf is detached(in the pool or out of the pool) instead of looking at ref count?




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-29 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 11:41 [dpdk-dev] Is mbuf detached from pool? Yaron Illouz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).