ixgbe: revert mbuf refcnt check when clearing a ring
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Fri, 24 Jul 2015 13:58:11 +0000 (14:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 26 Jul 2015 08:47:51 +0000 (10:47 +0200)
commitae77d1fbffa55109bd7c5c1935848a8dabeaf726
tree35387cc56d52f87961c746de51410f1b9a07437f
parent5a731d5e706b85ff2b350fa2f2e54e3522c35016
ixgbe: revert mbuf refcnt check when clearing a ring

The bug fix was incorrect as it did not take account of the fact that
the mbufs that were previously freed may have since be re-allocated.

Reverts: b35d0d80f0a8 ("ixgbe: check mbuf refcnt when clearing a ring")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c
drivers/net/ixgbe/ixgbe_rxtx_vec.c