From: Peter P Waskiewicz Jr Date: Sat, 7 Feb 2009 10:16:59 +0000 (-0800) Subject: ixgbe: Fix a set_num_queues() bug that can result in num_(r|t)x_queues = 0 X-Git-Tag: v2.6.30-rc1~662^2~793 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e450669cc7060d56d886f53e31182f5fef103c7;p=pandora-kernel.git ixgbe: Fix a set_num_queues() bug that can result in num_(r|t)x_queues = 0 Now that our set_num_queues() routines for each feature are re-entrant, and can be called at any point, they shouldn't zero out the feature's indices or mask bits. Subsequent calls into those routines for those features can result in zero Rx and Tx queues being assigned, causing a panic later in driver reinitialization. Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed