summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFlorent Fourcot <florent.fourcot@wifirst.fr>2019-06-10 13:28:58 +0300
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2019-06-10 13:29:31 +0300
commit24c509b2e2f1661ce9500fc7e32647113e62d7e3 (patch)
tree4e5a26f1d5ef2a0d8fd003ee5464f3fbc6fa366f /tools/perf/scripts/python/export-to-sqlite.py
parent16e6427c88c5b7e7b6612f6c286d5f71d659e5be (diff)
downloadlinux-24c509b2e2f1661ce9500fc7e32647113e62d7e3.tar.xz
netfilter: ipset: remove useless memset() calls
One of the memset call is buggy: it does not erase full array, but only pointer size. Moreover, after a check, first step of nla_parse_nested/nla_parse is to erase tb array as well. We can remove both calls safely. Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions