net: honour netif_set_real_num_tx_queues() retval
authorJiri Pirko <jiri@resnulli.us>
Fri, 20 Jul 2012 02:28:46 +0000 (02:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2012 18:06:59 +0000 (11:06 -0700)
commitee6ae1a1d58c70fc864bc777a36be56b0880ebff
treee390393a3169b496d3a0db106139770004434b4b
parent6f458dfb409272082c9bfa412f77ff2fc21c626f
net: honour netif_set_real_num_tx_queues() retval

In netif_copy_real_num_queues() the return value of
netif_set_real_num_tx_queues() should be checked.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h