diff options
author | 2020-07-28 10:16:51 +0800 | |
---|---|---|
committer | 2020-07-28 12:54:48 -0700 | |
commit | efe3fa45f770f1d66e2734ee7a3523c75694ff04 (patch) | |
tree | 03ba46cb148b75967bbaee4e32a55dbb0b5f6453 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: add reset check for VF updating port based VLAN (diff) | |
download | wireguard-linux-efe3fa45f770f1d66e2734ee7a3523c75694ff04.tar.xz wireguard-linux-efe3fa45f770f1d66e2734ee7a3523c75694ff04.zip |
net: hns3: fix aRFS FD rules leftover after add a user FD rule
When user had created a FD rule, all the aRFS rules should be clear up.
HNS3 process flow as below:
1.get spin lock of fd_ruls_list
2.clear up all aRFS rules
3.release lock
4.get spin lock of fd_ruls_list
5.creat a rules
6.release lock;
There is a short period of time between step 3 and step 4, which would
creatting some new aRFS FD rules if driver was receiving packet.
So refactor the fd_rule_lock to fix it.
Fixes: 441228875706 ("net: hns3: refine the flow director handle")
Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions