vmxnet3: fix crash on stop
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 26 Aug 2014 00:41:02 +0000 (17:41 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 29 Aug 2014 10:38:29 +0000 (12:38 +0200)
commit844083c46a9381f25edacd7357e007aa8a2d29f8
tree2db691c560f4e5abf71bce74284625a598d45306
parent413e8baa0d4fe582afb6ed56ef788ae349876857
vmxnet3: fix crash on stop

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>
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c