[dpdk-dev] Is mbuf detached from pool?

Yaron Illouz yaroni at radcom.com
Mon Jul 29 13:41:36 CEST 2019


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?





More information about the dev mailing list