bonding: fix loop boundary condition
authorVladyslav Buslov <vladyslav.buslov@harmonicinc.com>
Fri, 1 Apr 2016 12:16:59 +0000 (15:16 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 1 Apr 2016 13:29:40 +0000 (15:29 +0200)
commitaea2af182c15fd0564a1a75bcafeddac4ebb8418
treeb3d988161134674d83343e2e6e5789cd4973e6f4
parent44bf37a7021a8280d5057c59e3e01bfa0469a872
bonding: fix loop boundary condition

Loop that calculates total number of tx descriptors in slave tx queues
should iterate up to nb_tx_queues, not nb_rx_queues.

Fixes: 3ef7955700e7 ("bonding: fix LACP mempool size")

Signed-off-by: Vladyslav Buslov <vladyslav.buslov@harmonicinc.com>
drivers/net/bonding/rte_eth_bond_8023ad.c