Skip to content
Commit 8a540ff9 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

bond_sysfs: use real_num_tx_queues rather than params.tx_queue



Since now number of tx queues can be specified during bond instance
creation and therefore it may differ from params.tx_queues, use rather
real_num_tx_queues for boundary check.

Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent df4ab5b3
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