[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1418126905.14361.30.camel@eu.citrix.com>
Date: Tue, 9 Dec 2014 12:08:25 +0000
From: Ian Campbell <Ian.Campbell@...citrix.com>
To: Jan Beulich <JBeulich@...e.com>
CC: Wei Liu <wei.liu2@...rix.com>,
xen-devel <xen-devel@...ts.xenproject.org>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH] netback: don't store invalid vif pointer
On Tue, 2014-12-09 at 11:47 +0000, 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 <jbeulich@...e.com>
Acked-by: Ian Campbell <ian.campbell@...rix.com>
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists