diff options
author | Tom Herbert <therbert@google.com> | 2010-10-18 14:00:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-20 05:27:59 -0400 |
commit | bd25fa7ba59cd26094319dfba0011b48465f7355 (patch) | |
tree | 34527956dacf0309d30257b02272e97e729219c9 /include/linux/netdevice.h | |
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>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions