From: Alexander Duyck Date: Tue, 31 Mar 2009 20:38:19 +0000 (+0000) Subject: igb: set num_rx/tx_queues to 0 when queues are freed X-Git-Tag: v2.6.30-rc1~246^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a8c9e1c8a49afccc85dfeccd731ccbec52e724;p=pandora-kernel.git igb: set num_rx/tx_queues to 0 when queues are freed An issue was seen on suspend in which the system reported a page fault. This was due to the new reg_idx code being called after the queues were freed. This update prevents any for loops from going through the queues by setting the number of queues to 0 when they are freed. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed