diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-13 19:45:02 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-18 00:20:29 +0200 |
commit | 56c202d6e4f542468fe79b8a735cf128898b87fb (patch) | |
tree | 3080b34f6080d71b88ae26f665b5e23d7f485c69 /include/rdma | |
parent | [IB] uverbs: unlock correctly in error paths (diff) | |
download | linux-56c202d6e4f542468fe79b8a735cf128898b87fb.tar.xz linux-56c202d6e4f542468fe79b8a735cf128898b87fb.zip |
[IB] fail SA queries if device initialization failed
If the SA query module's initialization fails for a device, then that
device won't have a struct ib_sa_device associated. We should fail SA
queries in that case, rather than blindly dereferencing the NULL
pointer we get back from ib_get_client_data().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions