Skip to content
Commit 56c202d6 authored by Roland Dreier's avatar Roland Dreier
Browse files

[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: default avatarRoland Dreier <rolandd@cisco.com>
parent 305a7e87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment