commit | bd25fa7ba59cd26094319dfba0011b48465f7355 | [log] [tgz] |
---|---|---|
author | Tom Herbert <therbert@google.com> | Mon Oct 18 18:00:16 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 20 02:27:59 2010 -0700 |
tree | 34527956dacf0309d30257b02272e97e729219c9 | |
parent | 55513fb4281464e97aa1ff2b9c906ca5aed917c5 [diff] |
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 <therbert@google.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>