From 8a540ff9e1d685b5feb0a9df5d2b74db1e0b4d39 Mon Sep 17 00:00:00 2001 From: Jiri Pirko Date: Fri, 20 Jul 2012 02:28:50 +0000 Subject: [PATCH] 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 Signed-off-by: David S. Miller --- Reading git-format-patch failed