IB/ucm: Initialize sgid request GID attribute pointer
authorParav Pandit <parav@mellanox.com>
Mon, 6 Aug 2018 04:45:51 +0000 (07:45 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 7 Aug 2018 18:56:10 +0000 (12:56 -0600)
commit58796e67d5d529e2010f6985fae7a5cef02f19a8
tree4401b2b6ffb54a5a88df43143e9c62d999eb2b8f
parent760109760455a0a35491cb02a3bc3e15f0c180f6
IB/ucm: Initialize sgid request GID attribute pointer

sgid_attr is uninitialized on the stack, initialize it to NULL.

Fixes: 398391071f25 ("IB/cm: Replace members of sa_path_rec with 'struct sgid_attr *'")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Yossi Itigin <yosefe@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/ucm.c