Skip to content
Commit ed04642f authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: default avatarChangli Gao <xiaosuo@gmail.com>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
----
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c2b5bde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment