diff options
author | Yonglong Liu <liuyonglong@huawei.com> | 2023-11-10 12:37:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-13 12:06:58 +0300 |
commit | ac92c0a9a0603fb448e60f38e63302e4eebb8035 (patch) | |
tree | 83a372eed95cec8572f679c935f18ee7c70bd86f /drivers/net/fddi/defza.h | |
parent | 472a2ff63efb30234cbf6b2cdaf8117f21b4f8bc (diff) | |
download | linux-ac92c0a9a0603fb448e60f38e63302e4eebb8035.tar.xz |
net: hns3: add barrier in vf mailbox reply process
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.
Fixes: 4671042f1ef0 ("net: hns3: add match_id to check mailbox response from PF to VF")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/defza.h')
0 files changed, 0 insertions, 0 deletions