aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r--drivers/net/igb/igb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index a3c2f83fb49..ff1cd4a1ec1 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -3828,7 +3828,7 @@ static void igb_restore_vf_multicasts(struct igb_adapter *adapter)
3828 3828
3829 for (i = 0; i < adapter->vfs_allocated_count; i++) { 3829 for (i = 0; i < adapter->vfs_allocated_count; i++) {
3830 vf_data = &adapter->vf_data[i]; 3830 vf_data = &adapter->vf_data[i];
3831 for (j = 0; j < vf_data[i].num_vf_mc_hashes; j++) 3831 for (j = 0; j < vf_data->num_vf_mc_hashes; j++)
3832 igb_mta_set(hw, vf_data->vf_mc_hashes[j]); 3832 igb_mta_set(hw, vf_data->vf_mc_hashes[j]);
3833 } 3833 }
3834} 3834}