LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [Patch nf] ipvs: initialize tbl->entries after allocation

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Patch nf] ipvs: initialize tbl->entries after allocation
Cc: Julian Anastasov <ja@xxxxxx>, Cong Wang <xiyou.wangcong@xxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx
From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
Date: Fri, 27 Apr 2018 00:21:15 +0200
On Thu, Apr 26, 2018 at 02:14:25PM +0200, Simon Horman wrote:
> On Tue, Apr 24, 2018 at 08:16:14AM +0300, Julian Anastasov wrote:
> > 
> >     Hello,
> > 
> > On Mon, 23 Apr 2018, Cong Wang wrote:
> > 
> > > tbl->entries is not initialized after kmalloc(), therefore
> > > causes an uninit-value warning in ip_vs_lblc_check_expire()
> > > as reported by syzbot.
> > > 
> > > Reported-by: <syzbot+3dfdea57819073a04f21@xxxxxxxxxxxxxxxxxxxxxxxxx>
> > > Cc: Simon Horman <horms@xxxxxxxxxxxx>
> > > Cc: Julian Anastasov <ja@xxxxxx>
> > > Cc: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > > Signed-off-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>
> > 
> >     Thanks!
> > 
> > Acked-by: Julian Anastasov <ja@xxxxxx>
> 
> Thanks.
> 
> Pablo, could you take this into nf?
> 
> Acked-by: Simon Horman <horms@xxxxxxxxxxxx>

Done, thanks Simon.
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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