Re: [Xen-devel] [PATCH] netback: don't store invalid vif pointer

2014-12-09 Thread David Miller
From: "Jan Beulich" Date: Tue, 09 Dec 2014 11:47:04 + > When xenvif_alloc() fails, it returns a non-NULL error indicator. To > avoid eventual races, we shouldn't store that into struct backend_info > as readers of it only check for NULL. > > Signed-off-by: Jan Beulich Applied, thanks. ___

Re: [Xen-devel] [PATCH] netback: don't store invalid vif pointer

2014-12-09 Thread Ian Campbell
On Tue, 2014-12-09 at 11:47 +, Jan Beulich wrote: > When xenvif_alloc() fails, it returns a non-NULL error indicator. To > avoid eventual races, we shouldn't store that into struct backend_info > as readers of it only check for NULL. > > Signed-off-by: Jan Beulich Acked-by: Ian Campbell Th