[IB] Fix leak on MAD initialization failure
authorRoland Dreier <rolandd@cisco.com>
Thu, 6 Oct 2005 20:28:16 +0000 (13:28 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 17 Oct 2005 22:20:28 +0000 (15:20 -0700)
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: Roland Dreier <rolandd@cisco.com>

No differences found