From: Brandeburg, Jesse Date: Tue, 30 Sep 2008 13:08:48 +0000 (+0000) Subject: ixgb: fix bug when freeing resources X-Git-Tag: v2.6.27.15~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe09db5ae3d18b0915d6c0ef3d55a004e16e267;p=pandora-kernel.git ixgb: fix bug when freeing resources commit 23e55a32ca1ffdbe7a492ef99f0e0ac48e504a13 upstream. It was pointed out by Breno Leitao that ixgb would crash on PPC when an IOMMU was in use, if change_mtu was called. It appears to be a pretty simple issue in the driver that wasn't discovered because most systems don't run with an IOMMU. The driver needs to only unmap buffers that are mapped (duh). CC: Breno Leitao Signed-off-by: Jesse Brandeburg Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed