diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-20 13:54:47 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-05-03 17:07:33 +0300 |
commit | 5392d11ac74a493636fce7ed2e9598b095b68151 (patch) | |
tree | f53cae2c7713cd4d2044ceb195c34a521a598c4b | |
parent | 5215e75068b0ff78c8961f6cb4607c3659403cda (diff) | |
download | illumos-joyent-5392d11ac74a493636fce7ed2e9598b095b68151.tar.gz |
10766 ibcm: NULL pointer errors
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Approved by: Gordon Ross <gwr@nexenta.com>
-rw-r--r-- | usr/src/uts/common/io/ib/mgt/ibcm/ibcm_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_path.c b/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_path.c index 171a70e7ee..f3147a03d7 100644 --- a/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_path.c +++ b/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_path.c @@ -4040,7 +4040,7 @@ ibcm_val_ipattr(ibt_ip_path_attr_t *attrp, ibt_path_flags_t flags) } /* Validate the destination info */ - if ((attrp->ipa_ndst == 0) || (attrp->ipa_ndst == NULL)) { + if ((attrp->ipa_ndst == 0) || (attrp->ipa_dst_ip == NULL)) { IBTF_DPRINTF_L2(cmlog, "ibcm_val_ipattr: DstIP Not provided " "dst_ip %p, ndst %d", attrp->ipa_dst_ip, attrp->ipa_ndst); return (IBT_INVALID_PARAM); |