提交 04d5a21d 编写于 作者: K Kiran Patil 提交者: Jeff Kirsher

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: NKiran Patil <kiran.patil@intel.com>
Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 b45efa30
...@@ -1368,7 +1368,7 @@ struct i40e_mac_filter *i40e_add_filter(struct i40e_vsi *vsi, ...@@ -1368,7 +1368,7 @@ struct i40e_mac_filter *i40e_add_filter(struct i40e_vsi *vsi,
f->changed = true; f->changed = true;
INIT_LIST_HEAD(&f->list); 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 */ /* increment counter and add a new flag if needed */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册