diff options
author | 2022-12-12 15:43:51 +0800 | |
---|---|---|
committer | 2022-12-13 12:23:18 +0100 | |
commit | ba57ee0944ff0085652cf8df91f9c571883debe6 (patch) | |
tree | 8c90bebf8be206426d080a7688cd31f45f4d7383 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | netfilter: flowtable: really fix NAT IPv6 offload (diff) | |
download | wireguard-linux-ba57ee0944ff0085652cf8df91f9c571883debe6.tar.xz wireguard-linux-ba57ee0944ff0085652cf8df91f9c571883debe6.zip |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions