Re: [PATCH] bnxt_re: fix a crash in qp error event processing

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

 



On Tue, 2017-10-31 at 14:59 +0530, Sriharsha Basavapatna wrote:
> In bnxt_qplib_process_qp_event(), for qp error events we look up the
> qp-handle and pass it for further processing. But we don't check if the
> handle is NULL. This could lead to a crash in the called functions when
> that qp-handle is dereferenced, if the qp is destroyed in the meantime.
> Fix this by checking for a valid qp-handle in that function.
> 
> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@xxxxxxxxxxxx>

Thanks, applied.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux