commit | cbca2442a096f7fd8b68e6350d35c3a70182ca20 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Mon Sep 30 16:17:02 2019 -0700 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Fri Oct 04 15:35:06 2019 -0300 |
tree | 7134ce432e3e2f799835df4b59f8ca76cb4a4049 | |
parent | 09f8a1486dcaf69753961a6df6cffdaafc5ccbcb [diff] |
RDMA/srpt: Fix handling of iWARP logins 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. Link: https://lore.kernel.org/r/20190930231707.48259-11-bvanassche@acm.org Cc: Honggang LI <honli@redhat.com> Cc: Laurence Oberman <loberman@redhat.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>