commit | d38d7fdafaf89d1756f27e9b4054dd19a1d2f545 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | Mon May 22 13:30:15 2017 -0500 |
committer | Doug Ledford <dledford@redhat.com> | Thu Jun 01 17:20:08 2017 -0400 |
tree | cf620f4019a4a5e3b4128abee6da82b86d366768 | |
parent | 6e8484c5cf07c7ee632587e98c1a12d319dacb7c [diff] |
RDMA/qedr: add null check before pointer dereference Add null check before dereferencing pointer sgid_attr.ndev inside function rdma_vlan_dev_vlan_id(). Addresses-Coverity-ID: 1373979 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>