diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-06 22:28:16 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-18 00:20:28 +0200 |
commit | 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 (patch) | |
tree | 3a78a17d4499bf95cc23be72ffb88bd49c8e7852 /drivers/infiniband/hw/mthca/mthca_cmd.c | |
parent | [IB] mthca: detect SRQ overflow (diff) | |
download | linux-4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49.tar.xz linux-4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49.zip |
[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: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cmd.c')
0 files changed, 0 insertions, 0 deletions