lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 13 Dec 2022 12:28:24 +0100 From: Pablo Neira Ayuso <pablo@...filter.org> To: Julian Anastasov <ja@....bg> Cc: Li Qiong <liqiong@...china.com>, Simon Horman <horms@...ge.net.au>, Jozsef Kadlecsik <kadlec@...filter.org>, Florian Westphal <fw@...len.de>, netdev@...r.kernel.org, linux-kernel <linux-kernel@...r.kernel.org>, lvs-devel@...r.kernel.org, netfilter-devel@...r.kernel.org, kernel-janitors@...r.kernel.org, coreteam@...filter.org, Yu Zhe <yuzhe@...china.com> Subject: Re: [PATCH v2] ipvs: add a 'default' case in do_ip_vs_set_ctl() On Mon, Dec 12, 2022 at 04:20:41PM +0200, Julian Anastasov wrote: > > Hello, > > On Mon, 12 Dec 2022, Li Qiong wrote: > > > 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@...china.com> > > Reviewed-by: Simon Horman <horms@...ge.net.au> > > Change looks correct to me for -next, thanks! > > Acked-by: Julian Anastasov <ja@....bg> Applied, thanks.
Powered by blists - more mailing lists