From: Emil Tantilov Date: Thu, 1 Jul 2010 13:38:40 +0000 (+0000) Subject: igb: Fix Tx hangs seen when loading igb with max_vfs > 7. X-Git-Tag: v2.6.36-rc1~571^2~378 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0f2276f3601a96b29d4347c5938e9494e8e4e5d;p=pandora-kernel.git igb: Fix Tx hangs seen when loading igb with max_vfs > 7. Check the value of max_vfs at the time of assignment of vfs_allocated_count. The previous check in igb_probe_vfs was too late as by that time the rx/tx rings were initialized with the wrong offset. Signed-off-by: Emil Tantilov Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed