commit | ed04642f753b1240fc65c2978b7365e93209972a | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Fri Nov 13 21:54:04 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 15 22:08:05 2009 -0800 |
tree | 33222d72237e487050116c70849a932dc657fd24 | |
parent | 9c2b5bdee125d840b2023dcc7625353c8e5bb10c [diff] |
net: check the return value of ndo_select_queue() Check the return value of ndo_select_queue(). If the value isn't smaller than the real_num_tx_queues, print a warning message, and reset it to zero. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> ---- Signed-off-by: David S. Miller <davem@davemloft.net>