net: fail alloc_netdev_mq if queue count < 1
authorTom Herbert <therbert@google.com>
Mon, 18 Oct 2010 17:55:58 +0000 (17:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Oct 2010 09:27:58 +0000 (02:27 -0700)
commit55513fb4281464e97aa1ff2b9c906ca5aed917c5
treed90d3ea475c0d2b1f00e8b662d112c3c608f3a7c
parent5eeaa2db162f1f6d83e988d4d28f4ba7be600e44
net: fail alloc_netdev_mq if queue count < 1

In alloc_netdev_mq fail if requested queue_count < 1.

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>
net/core/dev.c