net/netvsc: fix ring freeing
authorStephen Hemminger <sthemmin@microsoft.com>
Wed, 1 Aug 2018 23:18:33 +0000 (16:18 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 5 Aug 2018 00:28:12 +0000 (02:28 +0200)
commitec3242685a4d5c79845a9eafda44e328dca924b9
tree566eb23fecd067a3aa278592cec1758e12be1410
parent94421f9e76bfea67c858eb806263b131d2188ff4
net/netvsc: fix ring freeing

The internal receive ring should be freed with rte_ring_free
not rte_free.

Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
drivers/net/netvsc/hn_rxtx.c