aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2021-03-29 11:57:46 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-29 13:21:00 -0700
commit64ff58fa3bfcf26bc893ea425a0553b561ca5298 (patch)
treed5fdab67efce2d1e2d8b5ea5431935c34b3b1598 /tools/perf/scripts/python/export-to-sqlite.py
parentnet: hns3: fix missing rule state assignment (diff)
downloadlinux-64ff58fa3bfcf26bc893ea425a0553b561ca5298.tar.gz
linux-64ff58fa3bfcf26bc893ea425a0553b561ca5298.zip
net: hns3: fix use-after-free issue for hclge_add_fd_entry_common()
When new rule state is TO_ADD or ACTIVE, and there is already a rule with same location in the fd_rule_list, the new rule will be freed after modifying the old rule. It may cause user-after-free issue when access rule again in hclge_add_fd_entry_common(). Fixes: fc4243b8de8b ("net: hns3: refactor flow director configuration") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions