commit | 8a540ff9e1d685b5feb0a9df5d2b74db1e0b4d39 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@resnulli.us> | Fri Jul 20 02:28:50 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 20 11:07:00 2012 -0700 |
tree | e15f4ee726e166d5df599d7621a909985be566b2 | |
parent | df4ab5b3c295050da09153fa9760042e4de3ffff [diff] |
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: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>