summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Qiong <liqiong@nfschina.com>2022-12-12 10:43:51 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-12-13 14:23:18 +0300
commitba57ee0944ff0085652cf8df91f9c571883debe6 (patch)
tree8c90bebf8be206426d080a7688cd31f45f4d7383 /tools/perf/scripts/python/export-to-postgresql.py
parent5fb45f95eec682621748b7cb012c6a8f0f981e6a (diff)
downloadlinux-ba57ee0944ff0085652cf8df91f9c571883debe6.tar.xz
ipvs: add a 'default' case in do_ip_vs_set_ctl()
It is better to return the default switch case with '-EINVAL', in case new commands are added. otherwise, return a uninitialized value of ret. Signed-off-by: Li Qiong <liqiong@nfschina.com> Reviewed-by: Simon Horman <horms@verge.net.au> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions