net: buf: change avail_count variable to atomic type
using CONFIG_NET_BUF_POOL_USAGE monitor avail_count,
this variable should be protect.
Protecting it by using atomic variable
Signed-off-by:
Ehud Naim <ehudn@marvell.com>
Loading
Please sign in to comment