]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix Tx map failure path
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Oct 2017 21:07:13 +0000 (17:07 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Oct 2017 14:42:58 +0000 (07:42 -0700)
commit56f867d9f25792f160d33007814a9e0f7c9fe6d7
treebf3a8bd9281986f957976ad323cb2258c908e645
parent17c796a5474a20480049077651068e423525b92d
ixgbe: Fix Tx map failure path

This patch is a partial revert of "ixgbe: Don't bother clearing buffer
memory for descriptor rings". Specifically I messed up the exception
handling path a bit and this resulted in us incorrectly adding the count
back in when we didn't need to.

In order to make this simpler I am reverting most of the exception handling
path change and instead just replacing the bit that was handled by the
unmap_and_free call.

Fixes: b4762cd0c2c0 ("ixgbe: Don't bother clearing buffer memory for descriptor rings")
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c