aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorliaoguojia <liaoguojia@huawei.com>2021-09-15 21:52:10 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-20 13:28:39 +0100
commitef39d632608e66f428c1246836fd060cf4818d67 (patch)
treeabd04de90b529174dbc89365691fd12466814d3e /tools/perf/scripts/python/export-to-postgresql.py
parentnet: hns3: check queue id range before using (diff)
downloadlinux-dev-ef39d632608e66f428c1246836fd060cf4818d67.tar.xz
linux-dev-ef39d632608e66f428c1246836fd060cf4818d67.zip
net: hns3: check vlan id before using it
The input parameters may not be reliable, so check the vlan id before using it, otherwise may set wrong vlan id into hardware. Fixes: dc8131d846d4 ("net: hns3: Fix for packet loss due wrong filter config in VLAN tbls") Signed-off-by: liaoguojia <liaoguojia@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions