Re: [PATCH] iser-target: check device before dereferencing its variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vu,

On Tue, 2013-10-22 at 00:48 +0300, Vu Pham wrote:
> Signed-off-by: Vu Pham <vu@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/ulp/isert/ib_isert.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c
> index 3591855..6df2350 100644
> --- a/drivers/infiniband/ulp/isert/ib_isert.c
> +++ b/drivers/infiniband/ulp/isert/ib_isert.c
> @@ -594,7 +594,7 @@ isert_connect_release(struct isert_conn *isert_conn)
>  
>  	pr_debug("Entering isert_connect_release(): >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n");
>  
> -	if (device->use_frwr)
> +	if (device && device->use_frwr)
>  		isert_conn_free_frwr_pool(isert_conn);
>  
>  	if (isert_conn->conn_qp) {

Apologies for the delayed response here..

This patch has been applied to target-pending/master, and will be
included in the next PULL request headed for v3.12-rc7 code.

Thank you,

--nab

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




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux