net_buf: non-atomic reference counting


Darryl Gamroth
 

Hi all,

I was looking at using net_bufs for an application broadcasting reference counted buffers to multiple threads and I noticed the reference counting is not atomic. I'm curious, is this by design?

Thanks.

Join devel@lists.zephyrproject.org to automatically receive all group messages.