LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH v2] ipvs: add a 'default' case in do_ip_vs_set_ctl()

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: [PATCH v2] ipvs: add a 'default' case in do_ip_vs_set_ctl()
Cc: Li Qiong <liqiong@xxxxxxxxxxxx>, Simon Horman <horms@xxxxxxxxxxxx>, Jozsef Kadlecsik <kadlec@xxxxxxxxxxxxx>, Florian Westphal <fw@xxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, kernel-janitors@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, Yu Zhe <yuzhe@xxxxxxxxxxxx>
From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
Date: Tue, 13 Dec 2022 12:28:24 +0100
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@xxxxxxxxxxxx>
> > Reviewed-by: Simon Horman <horms@xxxxxxxxxxxx>
> 
>       Change looks correct to me for -next, thanks!
> 
> Acked-by: Julian Anastasov <ja@xxxxxx>

Applied, thanks.

<Prev in Thread] Current Thread [Next in Thread>