diff options
author | Florent Fourcot <florent.fourcot@wifirst.fr> | 2019-01-08 20:37:33 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2019-01-08 20:37:33 +0100 |
commit | 01a3f2e76d14868f88a23fca9a8bd024475ab976 (patch) | |
tree | a70e9a01e54c8e224adce3b159ee369d10e46f9e /utils/ipset_bash_completion | |
parent | ac5292c2c57f626f7918a48126858140da239755 (diff) |
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 'utils/ipset_bash_completion')
0 files changed, 0 insertions, 0 deletions