Re: [PATCH] scsi: be2iscsi: revert "Fix a theoretical leak in beiscsi_create_eqs()"

From: Greg KH
Date: Thu Dec 03 2020 - 13:25:42 EST


On Thu, Dec 03, 2020 at 03:18:26PM +0300, Dan Carpenter wrote:
> My patch caused kernel Oopses and delays in boot. Revert it.
>
> The problem was that I moved the "mem->dma = paddr;" before the call to
> be_fill_queue(). But the first thing that the be_fill_queue() function
> does is memset the whole struct to zero which overwrites the assignment.
>
> Fixes: 38b2db564d9a ("scsi: be2iscsi: Fix a theoretical leak in beiscsi_create_eqs()")
> Reported-by: Thomas Lamprecht <t.lamprecht@xxxxxxxxxxx>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Can someone please add:
Cc: stable <stable@xxxxxxxxxxxxxxx>
to this so we know to pick it up quickly there?

thanks,

greg k-h