mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 15:56:49 +07:00
i40e: Add mac_filter_element at the end of the list instead of HEAD
Add MAC filter element to the end of the list in the given order, just to be tidy, and just in case there are ever any ordering issues in the future. Change-ID: Idc15276147593ea9393ac72c861f9c7905a791b4 Signed-off-by: Kiran Patil <kiran.patil@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
b45efa30a6
commit
04d5a21d62
@ -1368,7 +1368,7 @@ struct i40e_mac_filter *i40e_add_filter(struct i40e_vsi *vsi,
|
||||
f->changed = true;
|
||||
|
||||
INIT_LIST_HEAD(&f->list);
|
||||
list_add(&f->list, &vsi->mac_filter_list);
|
||||
list_add_tail(&f->list, &vsi->mac_filter_list);
|
||||
}
|
||||
|
||||
/* increment counter and add a new flag if needed */
|
||||
|
Loading…
Reference in New Issue
Block a user