The cmd_ring_release can be called twice if queue has already been released. This cause crash on shutdown. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>