Commit 681cf91c authored by Yonglong Liu's avatar Yonglong Liu
Browse files

net: hns3: add barrier in vf mailbox reply process

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7OQCS


CVE: NA

----------------------------

In hclgevf_mbx_handler() and hclgevf_get_mbx_resp() functions,
there is a typical store-store and load-load scenario between
received_resp and additional_info. This patch adds barrier
to fix the problem.

Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
parent dcd93089
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment