Skip to content
Commit 843613b0 authored by Roland Dreier's avatar Roland Dreier
Browse files

IPoIB: Correct debugging output when path record lookup fails



If path_rec_completion() is passed a non-NULL path record pointer
along with an unsuccessful status value, the tracing code incorrectly
prints the (invalid) DLID from the path record rather than the more
interesting status code.  The actual logic of the function correctly
uses the path record only if the status indicates a successful lookup.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 2f236735
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