From: Tom Herbert Date: Mon, 18 Oct 2010 18:00:16 +0000 (+0000) Subject: net: cleanups in RX queue allocation X-Git-Tag: v2.6.37-rc1~147^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd25fa7ba59cd26094319dfba0011b48465f7355;p=pandora-kernel.git net: cleanups in RX queue allocation Clean up in RX queue allocation. In netif_set_real_num_rx_queues return error on attempt to set zero queues, or requested number is greater than number of allocated queues. In netif_alloc_rx_queues, do BUG_ON if queue_count is zero. Signed-off-by: Tom Herbert Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed