[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200228161728.GT31668@ziepe.ca>
Date: Fri, 28 Feb 2020 12:17:28 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: Bernard Metzler <bmt@...ich.ibm.com>
Cc: dledford@...hat.com, linux-kernel@...r.kernel.org,
linux-rdma@...r.kernel.org, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH for-rc] RDMA/siw: Fix failure handling during device
creation
On Wed, Feb 26, 2020 at 03:29:20PM +0100, Bernard Metzler wrote:
> A failing call to ib_device_set_netdev() during device creation
> caused system crash due to xa_destroy of uninitialized xarray
> hit by device deallocation. Fixed by moving xarray initialization
> before potential device deallocation.
> Fixes also correct propagation of ib_device_set_netdev() failure
> to caller.
This is for -rc, so please split into two patches. The error
propagation is probably not -rc worthy
Jason
Powered by blists - more mailing lists