Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ixgbe: fix possible null buffer error
It seems that at least one PPC machine would occasionally give a (valid) 0 as the return value from dma_map, this caused the ixgbe code to not work correctly. A fix is pending in the PPC tree to not return 0 from dma map, but we can also fix the driver to make sure we don't mess up in other arches as well. This patch is applicable to all current stable kernels. Ref: https://bugzilla.redhat.com/show_bug.cgi?id=683611 Reported-by: Neil Horman <[email protected]> Signed-off-by: Jesse Brandeburg <[email protected]> CC: Alexander Duyck <[email protected]> CC: [email protected] Tested-by: Thadeu Lima de Souza Cascardo <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information