>It seems that 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. I think something >like the patch below is needed. The patch looks fine. Did you want to commit this, or have myself or Hal do it? - Sean