Skip to content
Commit 4ab6fb7e authored by Roland Dreier's avatar Roland Dreier
Browse files

[IB] Fix leak on MAD initialization failure



There is a bug in ib_mad_init_device(): if ib_agent_port_open() fails
for a given port, then the current code doesn't call ib_mad_port_close()
for that port.

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