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

Pablo Neira Ayuso <[email protected]>
Newsgroups org.kernel.vger.lvs-devel,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.netfilter-devel
Message-ID <Y5hh2NPmmkmD4VTt@salvia>
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 <[email protected]>
> > Reviewed-by: Simon Horman <[email protected]>
> 
> 	Change looks correct to me for -next, thanks!
> 
> Acked-by: Julian Anastasov <[email protected]>

Applied, thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.