From: Alexander Duyck Date: Wed, 6 May 2009 23:43:48 +0000 (-0700) Subject: igb: resolve panic on shutdown when SR-IOV is enabled X-Git-Tag: linux-omap-v2.6.30-rc6~48^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a22941f9ed052a0fdaa92753b1a1ab8072ee76;p=pandora-kernel.git igb: resolve panic on shutdown when SR-IOV is enabled The setup_rctl call was making a call into the ring structure after it had been freed. This was causing a panic on shutdown. This call wasn't necessary since it is possible to get the needed index from adapter->vfs_allocated_count. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed