On 10/2/19 7:16 AM, Jason Gunthorpe wrote: > On Mon, Sep 30, 2019 at 04:17:02PM -0700, Bart Van Assche wrote: >> The path_rec pointer is NULL set for IB and RoCE logins but not for iWARP >> logins. Hence check the path_rec pointer before dereferencing it. > > Did you mean it is null set for iWARP logins? I would expect iwarp to > not have a pkey.. Yes, I meant that the path_rec pointer is NULL for iWARP logins. The word "NULL" should be removed from the commit message. Thanks, Bart.