|
@@ -2429,7 +2429,7 @@ err_thread:
|
|
flush_workqueue(priv->mfunc.master.comm_wq);
|
|
flush_workqueue(priv->mfunc.master.comm_wq);
|
|
destroy_workqueue(priv->mfunc.master.comm_wq);
|
|
destroy_workqueue(priv->mfunc.master.comm_wq);
|
|
err_slaves:
|
|
err_slaves:
|
|
- while (--i) {
|
|
|
|
|
|
+ while (i--) {
|
|
for (port = 1; port <= MLX4_MAX_PORTS; port++)
|
|
for (port = 1; port <= MLX4_MAX_PORTS; port++)
|
|
kfree(priv->mfunc.master.slave_state[i].vlan_filter[port]);
|
|
kfree(priv->mfunc.master.slave_state[i].vlan_filter[port]);
|
|
}
|
|
}
|